> Le 9 mars 2015 à 23:00, Erich Titl <erich.t...@think.ch> a écrit :
> 
> Hi Yves
> 
> please bear with me, I don't get it
> 
> Am 09.03.2015 um 13:03 schrieb Yves Blusseau:
>> 
> ..>
>> An example using a local repository (it’s the same for a remote repository)
>> 
>> # Create the repository
>> cd /tmp
>> git init --bare myrepo.git
> 
> So I just create a new repository
> 
>> git clone /tmp/myrepo.git mycheckout
> 
> and then I clone this repository
> 
>> 
>> # Clone the repository and commit a text file and a binary
>> cd mycheckout
>> echo "Nothing" > Readme.txt
>> git add Readme.txt
> 
> then I go into the mycheckout...whatever directory and create a file
> which I finally add to the files to be tracked.
> 
>> 
>> mkdir -p 5.1.3/x86_64
> 
> OK
> 
>> dd if=/dev/urandom of=5.1.3/x86_64/pkg1.lrp bs=1024 count=1024
>> git store add 5.1.3/x86_64/pkg1.lrp
> 
> now what _exactly does this?

It's to create a fake package in binary form just for the test.
> 
>> git store push
>> 
>> git commit -a -m "First release"
>> git push
>> 
>> # Checkout the repository in another directory
>> cd /tmp
>> git clone /tmp/myrepo.git mycheckout2
>> cd mycheckout2
>> git store get 5.1.3/x86_64/pkg1.lrp
> 
> That is fine, but what I am looking for is WEB access to the files maybe
> held in a git repository, or maybe just symbolic links in a http root
> which point to files in a git repository. Right now git is hiding all
> versioning information in its internal database, each branch or tag just
> looks the same, there is no distinct information outside of git about
> versions, releases, branches or whatnot. PLeas take a look at the page
> at leaf.think.ch. It is all primitive and it does not point to a git
> repository, but basically all is there to access a certain file.
> 
> I guess with your tool we somehow duplicate a git repository to another
> filepath without actually duplicating the data and we should be able to
> point to this partial tree. Is that it?

With this we can manage all the packages in a git repository, and only download 
the files we need.

For your web site you can use the git store get (without filename) to 
download/update all the packages in your document root. So it will always 
up2date. If someone generate a new package he only need to push the new file to 
the git repository.

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