Author Topic: Source code repository to be moved  (Read 58067 times)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Source code repository to be moved
« on: November 23, 2005, 03:57:25 pm »
As already discussed, the source code repository will move from sourceforge-CVS to berlios-SVN to take advantage of the SVN versioning system.
The move will occur the following Saturday, on November 26th.

All developers with CVS write-access are requested to commit any pending changes by Friday night. On Saturday, CVS write-access will be revoked and only anonymous checkouts/updates will be allowed. When the migration to SVN has been completed, CVS access will be completely disabled.
We estimate that the migration will be completed the same day, i.e. Saturday. When it is done, it will be announced here.

C::B has already been registered with Berlios and the project page is located at https://developer.berlios.de/projects/codeblocks/.
Notice that we 're only moving the source code repository. Nothing else. We 'll continue using Sourceforge's trackers (bugs, patches, feature requests) and the file release system. On Berlios we will only keep the source code.

Finally, notice that the move will affect only those that used CVS to checkout C::B. Regular users that just use the distributed binary releases are not affected in any way.

On behalf of the Code::Blocks Team,
Yiannis.
Be patient!
This bug will be fixed soon...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Source code repository to be moved
« Reply #1 on: November 23, 2005, 06:52:33 pm »
Getting ready for it... at least by downloading TortoiseSVN :P

I wish you a smooth migration.

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Source code repository to be moved
« Reply #2 on: November 23, 2005, 07:05:53 pm »
Ahh, so I can finally uninstall TortoiseCVS saturday? Finally I'll get to see all of the TortoiseSVN overlay icons :).
Any chance of enabling the SVN repository already (albeit empty) so I can prepare a checkout and won't have to remember the repository URL untill then?

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Source code repository to be moved
« Reply #3 on: November 23, 2005, 07:48:24 pm »
My avatar!!  :cry:

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Source code repository to be moved
« Reply #4 on: November 23, 2005, 07:59:25 pm »
My avatar!!  :cry:

Don't overreact, a little Photoshopping/GIMPing/whatever and it'll be a perfectly fine generic turtle :P.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #5 on: November 23, 2005, 08:01:42 pm »
Any chance of enabling the SVN repository already (albeit empty) so I can prepare a checkout and won't have to remember the repository URL untill then?

Don't worry. The announcement will contain the needed urls :)

My avatar!! :cry:

LOL!
Be patient!
This bug will be fixed soon...

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Source code repository to be moved
« Reply #6 on: November 23, 2005, 08:14:45 pm »
My avatar!!  :cry:
I'll let you borrow mine :)
 
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Vampyre_Dark

  • Regular
  • ***
  • Posts: 255
  • Hello!
    • Somewhere Over The Rainbow...
Re: Source code repository to be moved
« Reply #7 on: November 23, 2005, 10:35:15 pm »
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Source code repository to be moved
« Reply #8 on: November 23, 2005, 10:56:35 pm »
lol thx! :) that's a good one! :)

Offline Vampyre_Dark

  • Regular
  • ***
  • Posts: 255
  • Hello!
    • Somewhere Over The Rainbow...
Re: Source code repository to be moved
« Reply #9 on: November 23, 2005, 11:17:40 pm »
lol thx! :) that's a good one! :)

NICE. I like it. What did you use to fix it up?

PSP 7.
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Source code repository to be moved
« Reply #10 on: November 24, 2005, 08:10:40 am »
I've worked yesterday evening on preparing my machine for that. I've tried to get it to work with the cb_svn plugin and finally I was able to manage. A question remains: I am using the RapidSVN GUI which works but compared to what I'm used to with WinCVS is (of cours) a bit rough.

Might I ask what (besides TortoiseSVN for several reason) you guys are using? Is there maybe another GUI that is better? This could also lead in a recommodation that we could put to the WiKi ("Connecting to the SVN repository" or so...).

With best regards,

Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #11 on: November 24, 2005, 09:21:18 am »
Well, at present I 'm using TortoiseSVN under windows and command-line under linux (or RapidSVN if I want to get the big picture).
I hope that the svn plugin will be usable shortly after the move so we can have one more option :)

Svn has a much easier command-line syntax than cvs though. Don't be afraid of what gives you absolute power ;)
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #12 on: November 24, 2005, 06:35:51 pm »
One more thing:
All C::B developers please prepare for the move. This means create your user accounts at berlios, if you don't have one already, and send them to me :)
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #13 on: November 25, 2005, 09:58:23 am »
So, I know I said stop commiting changes by Friday night but I 'd like to ask you to stop commiting at your earliest possible convenience.
That's because I will need to get the nightly cvsroot tarball from sourceforge tomorrow and, depending on timezone differences, not all changes might make it in if we don't leave a 24-hour slack...
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #14 on: November 25, 2005, 06:58:28 pm »
CVS repository write-access revoked for everyone. Only anonymous CVS works now.
Be patient!
This bug will be fixed soon...

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Source code repository to be moved
« Reply #15 on: November 26, 2005, 01:29:19 pm »
Looks like the SVN repository is currently being imported. (It's not done yet, the HEAD revision keeps jumping)

EDIT: And holding steady at revision 1385. Gentlemen, start your Subversion clients! :)
« Last Edit: November 26, 2005, 02:30:06 pm by Urxae »

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: Source code repository to be moved
« Reply #16 on: November 26, 2005, 03:17:21 pm »
Anything to watch out for? I'll use tortoiseSVN and have never used svn before :oops: (we use cvs at work)
Life would be so much easier if we could just look at the source code.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #17 on: November 26, 2005, 03:17:52 pm »
Indeed, the migration is finished :D

For anonymous SVN access you can use either
Code
svn checkout svn://svn.berlios.de/codeblocks/trunk
(via svn protocol), or
Code
svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk
(via HTTP).

Developers must use either
Code
svn checkout svn+ssh://developername@svn.berlios.de/svnroot/repos/codeblocks/trunk
(via svn+ssh protocol), or
Code
svn checkout https://developername@svn.berlios.de/svnroot/repos/codeblocks/trunk
(via HTTPS).
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #18 on: November 26, 2005, 03:25:32 pm »
Reminder:
Developers that have not yet sent me their BerliOS account names, please do so as soon as possible...

This means: byo, mispunt, zieq and zlika.
Be patient!
This bug will be fixed soon...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Source code repository to be moved
« Reply #19 on: November 26, 2005, 03:34:52 pm »
What I didn't like is TortoiseSVN asking me the password like 3 times for everything...

BTW... has SVN any way to compress data when checking out or does it do it by default?

Anyway, it's good to see it working :)

I hope all my permissions be correctly set and I don't destroy anything :P

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #20 on: November 26, 2005, 03:53:32 pm »
What I didn't like is TortoiseSVN asking me the password like 3 times for everything...

Why don't you add your public key to the server? This way you only type your keyphrase once per session (i.e. between reboots).

BTW... has SVN any way to compress data when checking out or does it do it by default?

I think it does it by default.
Be patient!
This bug will be fixed soon...

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: Source code repository to be moved
« Reply #21 on: November 26, 2005, 04:04:58 pm »
There's no delay between commits and anonymous checkouts/updates?
The server is in Europe?
Me and my humble pstn modem are thankful :)
Life would be so much easier if we could just look at the source code.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Source code repository to be moved
« Reply #22 on: November 26, 2005, 04:46:04 pm »
Dear all,

me myself and I as an anonymous user has just successfully checked out my C::B SVN workspace (using RapidSVN)! :D
I still can compile C::B so it seems to work very well. 8) Now (of course) I tried to get the svn plugin to compile and running. But there are quite some troubles e.g. incompatible wx includes, compiler errors... I ran into. While resolving the issues I realised that this plugin seems to be quite outdated and is (for example) not yet UniCode compatible. I've already started to patch the most important things (to be compatible with the current SDK) when a question came into my mind:
Is the version that I have checked out from BerliOS really the latest? Is there any newer version available? I could imagine that Thomas already did some work...
And: Now that C::B is on subversion maybe it makes sense to integrate the plugin into the contrib folder of the C::B repository? If so, I could already provide the patched project files for that (old and new build)... as a very small part...

Morten.

Ps: This message should actually be cross-posted here and in "Plugins development".
Pps: I saw the link of BerliOS to Fraunhofer FOKUS... very nice!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Source code repository to be moved
« Reply #23 on: November 26, 2005, 04:58:01 pm »
Is the version that I have checked out from BerliOS really the latest? Is there any newer version available? I could imagine that Thomas already did some work...
I recall there being a branch for the next version in the repository. I also recall Thomas mentioning a while back that it didn't compile yet :(. That could already be fixed though, not sure.
By the way, if you want a patch to compile trunk to work with current CVS, I posted a messy patch a while back (IIRC also converts to precompiled headers, using variables for paths etc.)

Quote
And: Now that C::B is on subversion maybe it makes sense to integrate the plugin into the contrib folder of the C::B repository? If so, I could already provide the patched project files for that (old and new build)... as a very small part...
It makes sense, and should happen as soon as a decent compiling-with-HEAD version is approved by Thomas I'd say.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Source code repository to be moved
« Reply #24 on: November 26, 2005, 05:05:07 pm »
I posted a messy patch a while back [...]
Stupid me! :? I have really overseen this obvious topic in the "Plugins development" forum. This makes my previous post kind of obsolete. Thanks for pointing to it...

Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Source code repository to be moved
« Reply #25 on: November 26, 2005, 07:02:15 pm »
Uh I forgot how to do the public / private key stuff :(

Any reminders? The Berlios instructions are for unix :(

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #26 on: November 26, 2005, 08:07:59 pm »
There's no delay between commits and anonymous checkouts/updates?
The server is in Europe?
Me and my humble pstn modem are thankful :)

No delay anymore for anonymous checkouts. You have access to the source code right after it's commited. Hot! :)
And yes, the server is in Europe/Germany and it is *much* faster than SF (at least for me and a few other European folks we talked about it).
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Source code repository to be moved
« Reply #27 on: November 26, 2005, 08:21:57 pm »
Uh I forgot how to do the public / private key stuff :(

Any reminders? The Berlios instructions are for unix :(

I assume we 're talking about windows here, using TortoiseSVN.

Create a SSH2 key pair using PuttyGen (or use the same you had for SF). After it is generated, save it and copy the text in the "Key" window.
Login to shell.berlios.de.
Type the following:
Code
mkdir .ssh
vi .ssh/authorized_keys
While in vi, paste the text you copied from PuttyGen using the mouse (right click).
Press "Esc", type ":wq" and hit "Enter".
That's it.
I suggest you have Pageant running in the background. When you want to develop for C::B, right click on the Pageant systray icon, click "Add key" to add your previously generated key. If you 've setup a keyphrase for your key, you will be asked about it. From that time onwards (until you logoff/reboot), no ssh-aware program will ask you for a password again :)

HTH
« Last Edit: November 26, 2005, 09:36:12 pm by rickg22 »
Be patient!
This bug will be fixed soon...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Source code repository to be moved
« Reply #28 on: November 26, 2005, 08:52:37 pm »
Create a SSH2 key pair [...]
I think such instructions would fit very well in the WiKi as well... in a developer section...?!

Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Source code repository to be moved
« Reply #29 on: November 26, 2005, 09:19:25 pm »
Login to shell.berlios.de.

And how do I do that?

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Source code repository to be moved
« Reply #30 on: November 26, 2005, 09:28:08 pm »
Login to shell.berlios.de.

And how do I do that?


Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: Source code repository to be moved
« Reply #31 on: November 27, 2005, 03:07:56 pm »
just uninstalled tortoisecvs, reboot, install tortoisesvn, reboot.
Ah windows and rebooting ...

Now I am in the process of checking out the code from head, but already for more then 25 minutes I see in the svn panel that I am stuck on "LexRebol.cxx" from scintilla.

Time to kill it and try again, or is there some setting no ok ?

any ideas are welcome, hey I could even reboot ;-)


[edit]

after 45 minutes I got an error in the svn pane :
request failed ....
... could not read chunk
.. connection timed out ..

let's try again
« Last Edit: November 27, 2005, 03:30:33 pm by killerbot »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: Source code repository to be moved
« Reply #32 on: November 27, 2005, 11:12:03 pm »
I just did another update on my svn directory, and now I am getting next to the trunk dir I already had from this afternoon, a whole bunch of branches directories :
yt
VERSION_1_0
CODEBLOCKS_1_0RC2_FINAL

Is this normal ??


Lieven

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Source code repository to be moved
« Reply #33 on: November 27, 2005, 11:31:41 pm »
I just did another update on my svn directory, and now I am getting next to the trunk dir I already had from this afternoon, a whole bunch of branches directories :
yt
VERSION_1_0
CODEBLOCKS_1_0RC2_FINAL

Is this normal ??

As Yiannis noted in this post earlier in the thread, you're supposed to check out http://svn.berlios.de/svnroot/repos/codeblocks/trunk (or the equivalent svn:// url). Note the /trunk at the end, I guess you left that part out.
So yes, this is normal if you check out the entire repository instead of just the trunk (or a branch or tag). But you're not supposed to.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: Source code repository to be moved
« Reply #34 on: November 27, 2005, 11:43:31 pm »
strange that this afternoon, I just got the trunk, and now when I did update (right clicking on the dir) I get all those others ??

Offline jmccay

  • Almost regular
  • **
  • Posts: 202
Re: Source code repository to be moved
« Reply #35 on: November 28, 2005, 02:40:58 am »
I like the tortoiseSVN better than CVS  better design.
jmccay
OS: WinXP, Win98 SE, & sometimes Linux

a little light reading from the wxWidgets 2.6.2 readme: A detailed 2000-page reference manual is supplied in HTML, PDF and Windows Help form: see the docs hierarchy.