Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2020-11-13 Thread nomadbyte
GeanyVC is just as lightweight as the Geany itself :) So in editor context GeanyVC rather assumes that the underlying repositories have been properly set up, which includes logins credentials needed for clone, pull (if any). This way GeanyVC does not need to deal with managing the logins for

Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-22 Thread andrewhotlab
@b4n I was thinking that GeanyVC does not seems to have the ambition to serve as a full replacement of a VC client, thus it will be OK to save credentials using `svn` after all... However, if it wouldn't be too difficult to parse `svn` output, I'm sure a lot of people will appreciate the _"ask

Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-21 Thread elextr
ok, well, might as well just configure `--username` and `--passwd` on the commands, oh wait, its not configurable :( -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-21 Thread Colomban Wendling
@elextr the command is not run in a TTY, there's no way for the user to interact -- or that would be on the terminal from which Geany was launched at best, if stdin was inherited. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-21 Thread elextr
Can't you just remove the `--non-interactive` to have svn prompt for credentials? By the nature of an IDE Geany is totally insecure, better to have handle usernames and passwords. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-21 Thread andrewhotlab
Not in the SVN working directory, but `svn` can save user credentials under several files in the `~/.subversion/auth` directory tree. However I guess it might be tricky to parse them all and get the right credentials to use for the current working directory commit. Moreover, to save subversion

Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-21 Thread Colomban Wendling
Can't username and password be set somewhere in a SVN configuration file? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/777#issuecomment-423577652

Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-21 Thread andrewhotlab
I guess that in order to achieve this, the plugin should start managing interactive usage... or it would be solved by getting the error code which is returned if unauthorized (1) and try again by asking username/password to the user and issuing the command `svn commit --user USERNAME --passwd

Re: [Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-21 Thread Colomban Wendling
GeanyVC uses the real `svn` commands under the hood, so it should be possible to get this to work. I am not knowledgeable about SVN authenticated commits; what would you do to get this to work on the command line? GeanyVC uses `svn commit --non-interactive -m "MESSAGE" FILE_LIST` -- You are

[Github-comments] [geany/geany-plugins] GeanyVC: support subversion authenticated commit (#777)

2018-09-21 Thread andrewhotlab
I just started to use Geany, coming from Bluefish... it's really a great tool and I wish to tank everyone contributing! I only noticed a problem when I try commit to a Subversion repository which needs the user to be authenticated. No problem wen I commit to a repository which does not require