zcxv / svntask

Automatically exported from code.google.com/p/svntask
Apache License 2.0
0 stars 0 forks source link

User authentication needs to be added to the core system #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
it would be great if you could give some more examples how to use svntask.
I'm still trying to figure out how it works.

This is what I tried:
<svn>
<ls repository="http://192.168.0.254" path="/svn/dir/project1"
username="name" password="pass" />
</svn>

Thanks in advance.
Hendrik

Original issue reported on code.google.com by hendrikw...@gmail.com on 9 Jul 2009 at 1:59

GoogleCodeExporter commented 9 years ago
Yes, more documentation is always nice. I'll try to see what I can come up with.

You say you tried something, but you don't give any indication if there was a 
failure or 
not or even what it was.

Original comment by latch...@gmail.com on 9 Jul 2009 at 5:37

GoogleCodeExporter commented 9 years ago
Thanks for your quick reply. I searched through alle the .java source files and 
found
out what parameters I can use for the commands. I think a raw list of 
parameters and
a short summary of the commands would help some people to get started with 
svntask.

When I try to commit some file I get an error. Update and and info works pretty 
good.

ant code:
<svn>
    <ls repository="http://192.168.0.254" path="/svn/dir/project" username="user"
password="pass" />
    <commit path="/projectdir/test.txt" commitMessage="Testing" />
</svn>

error msg:
svn: Authentication required for '<...> Write access requires a password

Original comment by hendrikw...@gmail.com on 9 Jul 2009 at 8:05

GoogleCodeExporter commented 9 years ago
I think you may have found a bug. Try coping the username/password/auth lines 
out of 
Ls.java and into Commit.java and letting me know if it works.

Original comment by latch...@gmail.com on 9 Jul 2009 at 9:36

GoogleCodeExporter commented 9 years ago
Yep, it seems to be a bug. I added the auth manager to Commit.java(attachment). 
Now
it works for me.

ant code:
<svn>
    <commit path="/projectdir/test.txt" commitMessage="Testing" force="true"
username="user" password="pass" />
</svn>

Original comment by hendrikw...@gmail.com on 10 Jul 2009 at 11:25

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for doing the test and glad it works for you now. I'll see about making 
username/password a more generic set of attributes depending on how many of the 
commands will require it.

Original comment by latch...@gmail.com on 10 Jul 2009 at 5:14

GoogleCodeExporter commented 9 years ago
If anyone has the same problems with commiting like me here is the .jar until 
your
next update.

Original comment by hendrikw...@gmail.com on 11 Jul 2009 at 12:11

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by latch...@gmail.com on 11 Jul 2009 at 12:22

GoogleCodeExporter commented 9 years ago

Original comment by latch...@gmail.com on 11 Jul 2009 at 12:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue 26 has been merged into this issue.

Original comment by latch...@gmail.com on 26 Apr 2011 at 10:06

GoogleCodeExporter commented 9 years ago
Issue 29 has been merged into this issue.

Original comment by latch...@gmail.com on 24 May 2011 at 3:49

GoogleCodeExporter commented 9 years ago
Any update on this ticket? We are also looking forward to a new release with 
this feature.

Cheers.

Original comment by charles....@gmail.com on 22 Jul 2011 at 5:20

GoogleCodeExporter commented 9 years ago
Sorry Charles, my motivation to add features and work on this project is about 
zero these days.

Original comment by latch...@gmail.com on 22 Jul 2011 at 5:40

GoogleCodeExporter commented 9 years ago
But, can you commit at least this issue? I'm using svntask with the patched 
jar, otherwise this project won't work :(

Original comment by mguilher...@gmail.com on 10 Aug 2011 at 4:22

GoogleCodeExporter commented 9 years ago
would you like commit access?

Original comment by latch...@gmail.com on 10 Aug 2011 at 4:57

GoogleCodeExporter commented 9 years ago
If you like me to commit "Commit.java" no problem!

Original comment by mguilher...@gmail.com on 11 Aug 2011 at 10:04

GoogleCodeExporter commented 9 years ago
Ok, what is your username? (Sorry, I can't see your full contact info here).

Feel free to email me directly.... latchkey@gmail.com

Original comment by latch...@gmail.com on 11 Aug 2011 at 4:15

GoogleCodeExporter commented 9 years ago
I've sent you a mail!

Original comment by mguilher...@gmail.com on 9 Sep 2011 at 4:42

GoogleCodeExporter commented 9 years ago
done

Original comment by latch...@gmail.com on 9 Sep 2011 at 5:10

GoogleCodeExporter commented 9 years ago
I've commited commit.java and checkout.java command with User authentication

Original comment by mguilher...@gmail.com on 12 Sep 2011 at 3:06

GoogleCodeExporter commented 9 years ago
Is there a username/password attribute with the update command?

Original comment by m...@slcoolj.de on 6 Oct 2011 at 11:38

GoogleCodeExporter commented 9 years ago
No, it's only implemented in commit, checkout and ls, but if you have a 
checkout and try to make an update it will work!

Original comment by mguilher...@gmail.com on 6 Oct 2011 at 4:27