From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: Guix-devel <guix-devel@gnu.org>
Subject: XPATH queries and manipulation in guile?
Date: Sun, 23 Apr 2017 19:10:31 +0200 [thread overview]
Message-ID: <3d31357c-7b67-cbe2-0f79-a8e76c8dc1c3@crazy-compilers.com> (raw)
Hi,
as far as I see it might be necessary to manipulate maven pom.xml files
in many cases. Fedora provides macros like "pom_xpath_inject" or
"%pom_remove_dep" for this [1, 2, 3].
Where can I find XPATH support for guile and some examples?
Alternatively we could use Fedora's python-scripts [3] to do the job –
ultimately showing that Python is superior to Java, since every Java
package needs Python to build :-)
Yes, I've seen SXPath [4], but IMHO this usign this would *not* be a
good choice: It would require packages to learn yet another path
language, while when using XPath, the packagers could simply copy
expressions from some fedora .spec-file. Additionally I find the
documentation of SXpath hard to understand - for be frank: I did not get
it at all.
[1] https://fedora-java.github.io/howto/snapshot/index.html#mvn_macros
[2] https://pagure.io/javapackages/blob/master/f/macros.d/macros.fjava
[3] https://pagure.io/javapackages/blob/master/f/java-utils
[4] https://www.gnu.org/software/guile/manual/html_node/SXPath.html
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
next reply other threads:[~2017-04-23 17:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-23 17:10 Hartmut Goebel [this message]
2017-04-24 8:55 ` XPATH queries and manipulation in guile? Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d31357c-7b67-cbe2-0f79-a8e76c8dc1c3@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.