Re: Switching from CVS to XXX

Roberto José de Amorim via Lame-dev <[email protected]> Thu, 19 Oct 2017 18:24:19 +0000 (UTC)
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <[email protected]>
>  - switch webpages to point to SVN instead of CVS (in progress in the  
> SVN version of the webpages)

done

>  - add some procedures (how to make release from svn, how to update  
> webpages from svn)


Webpages can be updated from within the Sourceforge SSH server (go to /home/project-web/lame/htdocs and run ./siteupdate.sh )

Regards;
 
-- 
Roberto José de Amorim
MSc in Computer Science
Columbia University - New York





________________________________
De: Alexander Leidinger <[email protected]>
Para: [email protected] 
Enviadas: Sábado, 14 de Outubro de 2017 10:46
Assunto: Re: [Lame-dev] Switching from CVS to XXX


Quoting Alexander Leidinger <[email protected]> (from Sat, 14  
Oct 2017 11:44:50 +0200):

> Quoting Alexander Leidinger <[email protected]> (from Wed, 11  
> Oct 2017 21:49:35 +0200):
>
>> SF is phasing out CVS support (will be read-only at a specific  
>> deadline). So we will have to switch.
>
>> So I will try to set some time aside and play around with the  
>> conversion to SVN.
>
> Local conversion done. Transfer to SF in progress (slow upload).  
> Some integration steps are needed before it is usable (e.g. commit  
> mails, HOWTOs). My goal is to have most of it done today, with maybe  
> the last parts finishing tomorrow. I will send some more status  
> mails during the day regarding this.

Online and visible via web and svn access (little howto below).

https://sourceforge.net/p/lame/svn/HEAD/tree/

"trunk" contains lame, logo, webpages, hip and py-lame. To check all  
out RW you can do
svn checkout --username=USERNAME  
svn+ssh://[email protected]/p/lame/svn/trunk destination

If you are interested in only a part of it, e.g. lame source code:
svn checkout --username=USERNAME  
svn+ssh://[email protected]/p/lame/svn/trunk/lame destination

What was cvs tag before is now
svn copy --username=USERNAME  
svn+ssh://[email protected]/p/lame/svn/trunk/lame  
--username=USERNAME  
svn+ssh://[email protected]/p/lame/svn/tags/YOUR_TAGNAME

New feature branches can be created via
svn copy --username=USERNAME  
svn+ssh://[email protected]/p/lame/svn/trunk/lame  
--username=USERNAME  
svn+ssh://[email protected]/p/lame/svn/branch/YOUR_BRANCHNAME

Merging back to the trunk would be done with "svn merge ...".

Outstandings:
  - validate content (e.g. checkout, build lame, check if pictures are  
pictures, mp3 is mp3, ...)
  - switch webpages to point to SVN instead of CVS (in progress in the  
SVN version of the webpages)
  - if happy make SVN the new master (change SF navbar to not show CVS  
anymore and remove "not ready" from SVN part)
  - add some procedures (how to make release from svn, how to update  
webpages from svn)

If you look at SF howtos which talk about "p/PROJECT/code/": we need  
to translate this to "p/lame/svn/" ("code" is already in use by CVS).


The little howto regarding CVS to SVN (= what I did):
---snip---
Create SF SN repo:
  - SF admin page for lame, "add new", add SVN

cvs2svn conversation:
- make local copy of CVS
   rsync -av rsync://a.cvs.sourceforge.net/cvsroot/lame/\* CVS_backup
- create local SVN
   svnadmin create lame-svn
- generate auto props entries for SVN (~/.subversion/config)
*.pdf   = svn:mime-type=application/pdf
*.ps    = svn:mime-type=application/postscript
*.eps   = svn:mime-type=application/postscript
*.exe   = svn:mime-type=application/octet-stream
*.bin   = svn:mime-type=application/octet-stream

*.jpg   = svn:mime-type=image/jpeg
*.jpeg  = svn:mime-type=image/jpeg
*.gif   = svn:mime-type=image/gif
*.png   = svn:mime-type=image/png
*.tiff  = svn:mime-type=image/tiff
*.svg   = svn:mime-type=image/svg+xml
*.ai    = svn:mime-type=application/illustrator

*.wav   = svn:mime-type=audio/x-wav
*.mp3   = svn:mime-type=audio/mpeg


- convert
   mkdir cvs2svn-tmp
   cvs2svn --tmpdir cvs2svn-tmp --auto-props=$HOME/.subversion/config  
--existing-svnrepos --retain-conflicting-attic-files --encoding=utf8  
--encoding=latin1 --fallback-encoding=ascii -s lame-svn CVS_backup


cvs2svn Statistics:
------------------
Total CVS Files:               916
Total CVS Revisions:         17312
Total CVS Branches:           3962
Total CVS Tags:              33374
Total Unique Tags:             152
Total Unique Branches:          44
CVS Repos Size in KB:        55023
Total SVN Commits:            6401
First Revision Date:    Thu Nov 18 09:05:01 1999
Last Revision Date:     Sat Oct 14 10:05:59 2017

- import to SF
  https://sourceforge.net/p/forge/documentation/SVN%20Import/
   I used: svnsync via local repository
---snip---


Bye,
Alexander.

-- 
http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org   [email protected]  : PGP 0x8F31830F9F2772BF
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lame-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lame-dev

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lame-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lame-dev