Hello Yves;

Am Montag, 23. März 2015, 18:05:13 schrieb Yves Blusseau:
> > Le 23 mars 2015 à 16:35, kp kirchdoerfer <kap...@users.sourceforge.net> a
> > écrit :
> > 
> > Hi;
> > 
> > Am Montag, 23. März 2015, 12:07:35 schrieb Yves Blusseau:
> >>> Le 23 mars 2015 à 09:25, Erich Titl <erich.t...@think.ch> a écrit :
> >>> 
> >>> Hi Yves
> >>> 
> >>> Am 23.03.2015 um 08:56 schrieb Yves Blusseau:
> >>> 
> >>> ...
> >>> 
> >>>> The feature is to clone a repository without downloading all the
> >>>> history
> >>>> (several GB)>
> >>> 
> >>> OK so you basically remove the history from a git repository.
> >> 
> >> No the history stay intact. Only the binaries are replace with symlinks.
> >> 
> >>>>>> Now with the git-store command you can retrieve any packages you want
> >>>>>> using the transport protocol that was used to clone the
> >>>>>> repository.>>>
> >>>>> 
> >>>>> That is all fine, but there is no git-store on the leaf boxes (and I
> >>>>> doubt there will ever be).
> >>>> 
> >>>> git-store is only a bash script. The question is: is it good to install
> >>>> git command on a Leaf platform ?>
> >>> 
> >>> I don't think so, but it is nice to have a repository without the cruft.
> > 
> > AFAIR git-store requires git?
> 
> Yes
> 
> > Generating a git package should be possible, git seems to have no/few
> > requirements, and maybe I'll try to build one in the future.
> > 
> > But for just doing upgrades Erichs idea to use wget should be fine for the
> > time being.
> 
> Yes. But git-store can be use to maintain the http docroot of the server
> that provide the packages.
> >>>>>> See the Readme.txt file for information
> >>>>>> (https://sourceforge.net/p/leaf/packages-store/ci/master/tree/Readme.
> >>>>>> t
> >>>>>> xt)>>>
> >>>>> 
> >>>>> Great..... What does it do? Is this an interface to git? What is the
> >>>>> difference between a git repository and this git-store built
> >>>>> repository
> >>>>> and why does git not provide the same functionality?
> >>>> 
> >>>> Because git is for storing source file not binaries files.
> >>> 
> >>> Aahhh.... I always thought so and was surprised there was a git
> >>> repository to hold our binary packages. Is this arrangement with
> >>> sourceforge by accident?
> >> 
> >> No because it was historic.
> > 
> > And because we have no other place AFAIK. SF does not provide http space
> > other than the FRS, which IMHO is worse for storing packages than a gt
> > repo.
> > 
> > Anyway; I've dowloaded git-store but I do not understand how to use it.
> > I've been able to clone the symlinked repo, but then my understanding
> > stopped.
> Just install the git-store command in the path. The best is to clone my
> git-store repository on github and do a make install to install the command
> in /usr/bin.

Done.

> > How do I use it to get a package from it, and more important, how can I
> > update a package in the repo, build new directories??
> 
> Go into the directory containing the symlinks and use the command "git store
> get" to retrieve one package. 

I don't get it :(

leaf-packages-store/stable/i386$ git store get atmtools.lrp
Downloading stable/i386/atmtools.lrp from origin...

/leaf-packages-store/stable/i386$ ls -al atmtools.lrp 
lrwxrwxrwx 1 kapeka kapeka 62 Mär 18 16:23 atmtools.lrp -> ../../.git-
store/data/332dbe80950b69d1b140c4507681ce22396570d3
 
Not what I've expected; what's wrong??

kp


> To add a new file or update one use the "git
> store add" command.
> To push the binaries to the repository use the "git store push" command.
> 
> > And finally - it seems not help me to shrink the existing repository on
> > SF.
> > As I said, I don't bother about history etc. I just want to
> > a) delete remote directories completly (freeing space)
> > b) want to shrink the repositories to the bare necessary files aka the
> > latest versions)
> > c) looking for a recipe for the future to keep the repository as small as
> > possible
> 
> With git store it's easy to see what files are accessible or not in a
> branch. And with one git command we can remove definitively an old binary
> from the repository.
> 
> Regards,
> Yves


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to