benibela / xidel

Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
http://www.videlibri.de/xidel.html
GNU General Public License v3.0
674 stars 42 forks source link

put dependency as submodule and use well-defined version tag? #65

Open easz opened 3 years ago

easz commented 3 years ago

Just a general suggestion:

is it possible to put flre, synapse, rcmdline and internettools as submodules with specific revision/tag?

so that once xidel has a new tag (e.g. 0.9.9), it can be "bundled" with specific revision/tag of dependencies.

For example, I cannot build 0.9.8 easily now, because the latest code from dependencies do not fit to 0.9.8 and I don't know which revision I should use.

benibela commented 3 years ago

It is difficult. I do not actually use the github repositories. I have everything in one big Mercurial monorepository, and upload it through a Mercurial->git converter. I do not know if that can create submodules

I have another big Mercurial repository on Sourceforge: https://sourceforge.net/p/videlibri/code/ci/Xidel%200.9.8/tree/

I also have bundled everything in the release source code: https://github.com/benibela/xidel/releases/download/Xidel_0.9.8/xidel-0.9.8.src.tar.gz