On 09/11/12 18:00, Mildred Ki'Lya wrote:
I am looking at 0install <http://0install.net> and I thought I would add some basic support for 0install to Trojita.Attached the patch Tell me what you think. I took the liberty to choose an URI, but it can be changed.
Hi Mildred,thanks for your patch. I'm not really familiar with 0install, so I have a few questions:
- Where should I put that XML file? Does it matter somehow? What will I have to do when I want to switch the URL in future?
- Shouldn't the <interface uri=...> be using the same URL as <feed-for interface=...>?
- How do I test the implementation? On my Gentoo system, there's no `qmake-qt4`, just `qmake`. How to solve this? Please note that these are referenced both from the README file and also from the 0install XML file.
- qmake probably has a "better" approach for $INSTALL_PREFIX, I'm pretty sure that it's supposed to be passed to the configure step (when calling qmake), not to the `make install` thing. I might be wrong.
- I don't see any reference to the source code. How does the 0install know where to fetch the sources from? Or do I have to download the whole tree anyway *and* after that use 0install? I kind of assumed that the whole point of "0install" and related stuff is to be able to "install without much hassle". If it requires an explicit XML manifest along with complicated user actions -- which I cannot possibly debug or help with -- it really looks strange to me. If my perception is correct, I cannot really recommend users to follow this route.
Cheers, Jan
smime.p7s
Description: S/MIME Cryptographic Signature
