Elmer code repository changed

Updates in software, documentation, sites etc.
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Elmer code repository changed

Post by raback »

Hi All

Elmer repositorý has chanhed. This is due to sourceforge.net, so nothing we wished for.

To just check out the code:

Code: Select all

svn checkout svn://svn.code.sf.net/p/elmerfem/code/trunk elmerfem-code
To check out the code if you want to make commit someting later with your username (here elmeruser):

Code: Select all

svn checkout --username=elmeruser svn+ssh://elmeruser@svn.code.sf.net/p/elmerfem/code/trunk elmerfem-code
Edit: if the svn: protocol is blocked you can instead use http: instead of svn:, and https: instead of svn+ssh:. So for example

Code: Select all

svn checkout http://svn.code.sf.net/p/elmerfem/code/trunk elmerfem-code
The new repo should include everything that was in the old repo.

As of now, do not use the old repository!!

Best regards,
ElmerTeam
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elmer code repository changed

Post by mzenker »

Hi,

unless I do something wrong, the new repo is not accessible for all. It asks for username and password whan I try to import or relocate it, and I don't think it should. If authentication is required, what should we enter? Could I have found this info somewhere?
I use tortoise svn under Windows XP.

Matthias
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Elmer code repository changed

Post by raback »

Hi Matthias

I did test it and for me it seems to work even if I don't give any username. If you give a username that refers to the sf.net username.

-Peter
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elmer code repository changed

Post by mzenker »

Hi Peter,

I just tried again, without success. This is what I get in tortoise svn when I try to checkout, and don't give a username:

Code: Select all

Command: Checkout from https://svn.code.sf.net/p/elmerfem/code/trunk, revision HEAD, Fully recursive, Externals included  
Error: OPTIONS of 'https://svn.code.sf.net/p/elmerfem/code/trunk': authorization   
Error: failed: Could not authenticate to server: rejected Basic challenge (https://svn.code.sf.net)  
What do I do wrong?

Thanks,

Matthias
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Elmer code repository changed

Post by raback »

Hi Matthias

In my Tortoise session I used svn: as the protocol in Checkout

Code: Select all

svn://svn.code.sf.net/p/elmerfem/code/trunk
Your protocol seems to be https....

-Peter
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elmer code repository changed

Post by mzenker »

Hi,

I have tried several times this afternoonusing svn protocol, and keep getting the following error:

Code: Select all

Command: Checkout from svn://svn.code.sf.net/p/elmerfem/code/trunk, revision HEAD, Fully recursive, Externals included  
Error: Can't connect to host 'svn.code.sf.net': Der Host war bei einem Socketvorgang   
Error: nicht erreichbar. 
(translation: A socket operation was attempted to an unreachable host)

Matthias
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Elmer code repository changed

Post by raback »

Hi Matthias

If you use Tortoise, press the right key and choose "SVN Checkout" and in the windows that pops up choose something like in the attached picture. Does this fail?

-Peter
Attachments
Checkout of Elmer source code in TortoiseSVN
Checkout of Elmer source code in TortoiseSVN
ElmerCheckoutInTortoise.PNG (54.3 KiB) Viewed 12540 times
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elmer code repository changed

Post by mzenker »

Yes it does.
I have proceeded exactly as you wrote, except for the local target directory which is the same as for the old repository. The error message is the same as before (see my last post).
Remark: I can still update from the old repository (I have changed the local directory name), which claims to contain Rev. 6034.
Strange...

Matthias
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Elmer code repository changed

Post by raback »

Hi

You should not use the old repositofy as the target. This will mess things up. There might be some possibility to use "svn change" but at I could not figure whether ot could be used for this purpose. So it may be safest to make just a fresh directory.

-Peter
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elmer code repository changed

Post by mzenker »

Hi,

that is what I did - sorry for the confusion.
I renamed the old directory to "trunc_old" and created a new "trunc" directory. Then I can do svn-update from the old repository on "trunc_old", but I cannot svn-checkout from the new repository into "trunc" which is currently empty (I just deleted and re-created it to be sure).
I just noticed that for the old repository, the https protocol was used. Is there a public username and password available for the new repository? Would it be possible that the svn protocol is blocked by a firewall (I am behind one)?

Matthias
Post Reply