On Thu, 4 Apr 2013 at 17:04:50 +0400, Alexey I. Froloff wrote: > On Thu, Apr 04, 2013 at 09:43:50AM +0100, Carlos R. Mafra wrote: > > The only thing I want is an easy way to get tarball of a given > subdirectory inside git repo. By "easy" I mean "knowing name and > version of a particular dockapp". gitweb at repo.or.cz can't do > it (look at gitweb/gitweb.perl in git repo how git-archive is > called in git_snapshot()). > > Different packagers maintain different dockapps. Having all > dockapps built from a single source package is not a good thing, > because some dockapps being updated often, some are not. > > > Step zero is to add tags to the repo. Without tags you will get > different results each time you call git-archive.
Ok, I will do that, "dockapps v1.0". Is that acceptable? > Next, thare are to options: > > If we stay at repo.or.cz, simple script will generate tarballs > for all dockapps. Ok, I assume you'll have your own scripts for that. > Then these tarballs needs to be uploaded somewhere. I don't see why this step is needed though, and why it has to involve the dockapps.git repo. It's related to the needs of packaging, right? Why not do it internally and not involve the repo at all? I mean, the purpose of the repository is to hold the source code. Everybody can download it, create tarballs from the directories and keep a record of what changed, and do whatever is needed with them. But that doesn't involve the repo. They are separate problems. If you need to know the versions easily, then what I could do to help is to have the versions in the dir names. But I can foresee that those names will seldom change (if at all) because there's just not too much going on. > Carlos, can you also upload dockapp tarballs to windowmaker.org ? No. All I can do is to edit the homepage in the whome.git repository and John pulls that with a script into his server. -- To unsubscribe, send mail to [email protected].
