On Feb 14, 2011, at 6:33 AM, Max Horn wrote:

> Hi Daniel,
> 
> 
> Am 14.02.2011 um 01:26 schrieb Daniel Johnson:
> 
>> 
>> On Feb 8, 2011, at 7:53 PM, Daniel Johnson wrote:
> [...]
> 
>>> 
>>> BTW, converting with cvs2git (from the cvs2svn package) works very well and 
>>> is several orders of magnitude faster than git cvsimport. It takes me less 
>>> than 10 minutes to do the conversion. Also, the consensus around the 
>>> internets seems to be that cvs2git is more reliable.
>> 
>> Now that CVS is back, the urgency for this has passed. However, I'm still 
>> working on this.
> 
> And a good thing, too. SF.net already said they are thinking about phasing 
> out CVS support. We really should look into moving forward. And not just for 
> dists/, also the fink code and the web stuff would benefit from this -- but 
> this is a separate matter.
> 
> 
>> I've rebuilt my repo on github again with updated author names and 
>> addresses, but the addresses I used are the usern...@users.sourceforge.net 
>> since that's all we have in a central location. If anyone wants to use a 
>> different address, let me know and I can regenerate the repo with the new 
>> info.
> 
> I'd prefer to have m...@quendi.de used as my email address. But everybody is 
> able to link extra email addresses with their account. So, even if 
> fingol...@users.sf.net is used, it should still link fine with my account.
> 
> Another remark: For ScummVM, we just moved from SF.net SVN to github. For 
> that, we used svn2git plus some custom shell scripts to tweak history a bit. 
> Fixup some mistakes in the history , connect some disconnected history back 
> together, massage branches in a form that was useful for us. Maybe this is 
> less relevant for Fink, but it might still be useful. If you are interested 
> in anything about this, I could get you in touch with the guy who did all 
> this for ScummVM, maybe he has some valuable hints for you.
> 
> Lastly, I added a Fink org on github, just in case we want to go there: 
> <https://github.com/organizations/fink>. This is by no means a pre-decision 
> or anything; I just wanted to make sure the name is reserved. 

I've been working on implementing selfupdate-git and have something that people 
can play with if they'd like. (You'll need git installed for this, of course.)

git clone git://github.com/danielj7/fink.git
cd fink
git checkout selfupdate  # that's where my branch is
./bootstrap /sw-git   # or wherever you want you fink to be installed. PLEASE 
don't use your main /sw

You then need to run 'fink selfupdate-git' but there is something you need to 
do first. The selfupdate-git command will first look for $basepath/bin/git (say 
/sw-git/bin/git) then /usr/bin/git (since a future OS might come with it). If 
it finds neither, it'll quit, telling you to 'fink install git'. You can also 
set GitPath in fink.conf to another git, say in your main /sw, to override what 
fink guesses. Whatever fink finally chooses will be saved in GitPath and used 
from then on so that the same version is always used.

Once you've used selfupdate-git once, regular selfupdate will continue pulling 
updates with git. Note that it's currently set to use my copy of the fink/dists 
repo at http://github.com/danielj7/fink-dists.git. This is NOT an official repo 
so don't trust it for normal use. I'm keeping it updated from the cvs one, 
though I'm running the update manually when I notice changes. Since it's my 
repo, you can't get read/write access to it, of course. :) So always pick 
anonymous access when fink asks. Also try switching between the different 
selfupdate methods to make sure switching works. It seems to in my testing.

I've also updated my preliminary selfupdate-svn command to work using the same 
repo too. I'm not sure how useful it is since GitHub supports git over http. It 
does mean that people with 10.5 and later don't need to install anything else 
but it's MUCH slower than git.

Another thing to note is that unlike cvs (or svn) git doesn't allow you to 
checkout one directory within a repo; it's all or nothing. That means that 
selfupdate-git (and -svn since it's using the git repo) ignores the 
SelfupdateTrees setting and downloads all the trees. We could certainly remove 
the old trees in the final repo, but I left them in for now so we get all the 
history.

Daniel

Attachment: PGP.sig
Description: This is a digitally signed message part

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to