[JIRA] [git-client] (JENKINS-20684) Support for .netrc file limited by strict file format requirement

2014-01-06 Thread florian.zscho...@cycos.com (JIRA)















































Florian Zschocke
 closed  JENKINS-20684 as Fixed


Support for .netrc file limited by strict file format requirement
















Change By:


Florian Zschocke
(06/Jan/14 3:04 PM)




Status:


Resolved
Closed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [git-client] (JENKINS-20684) Support for .netrc file limited by strict file format requirement

2013-11-26 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-20684 as Fixed


Support for .netrc file limited by strict file format requirement
















Change By:


SCM/JIRA link daemon
(26/Nov/13 8:24 AM)




Status:


Open
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [git-client] (JENKINS-20684) Support for .netrc file limited by strict file format requirement

2013-11-26 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-20684


Support for .netrc file limited by strict file format requirement















Code changed in jenkins
User: Florian Zschocke
Path:
 src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
 src/main/java/org/jenkinsci/plugins/gitclient/Netrc.java
 src/test/java/org/jenkinsci/plugins/gitclient/NetrcTest.java
 src/test/resources/netrc_1.in
 src/test/resources/netrc_1a.in
 src/test/resources/netrc_2.in
http://jenkins-ci.org/commit/git-client-plugin/3430d9270beeabedfab130e5d987bcf26c336748
Log:
  FIXED JENKINS-20684 Parser for .netrc file format

This path implements a parser for the .netrc file supporting various formats.
It is not restricted to having a machine definition on a single line but can
parse any valid format. The one exception is that it does not cope with
`macdef` definitions.

handle `macdef` definitons in the netrc file to the parser.
Anything following a `macdef` keyword will be ignored up to
the next empty line.





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [git-client] (JENKINS-20684) Support for .netrc file limited by strict file format requirement

2013-11-21 Thread florian.zscho...@cycos.com (JIRA)














































Florian Zschocke
 updated  JENKINS-20684


Support for .netrc file limited by strict file format requirement
















Change By:


Florian Zschocke
(21/Nov/13 6:10 PM)




Description:


Thesupportforthe.netrcfilerequiresacertainfileformat,i.e.onelineperhostwithallinformationonit.Thisisanunnecessarylimitationasthenetrcfilewouldalsosupporttheformat:machinehostloginuserpasswordsecretwhichisaformatusedbymanyusersbutnotsupportedbythegitclientplugin.Alsotheparserbreakseasilyasitrequiresexactlyonespacebetweenthefields.
Additionally,whenmorethanonemachineislistedinthenetrcfile,thecredentialsfromthefirstonearetaken,nottheonefromthematchinghost.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [git-client] (JENKINS-20684) Support for .netrc file limited by strict file format requirement

2013-11-20 Thread florian.zscho...@cycos.com (JIRA)














































Florian Zschocke
 created  JENKINS-20684


Support for .netrc file limited by strict file format requirement















Issue Type:


Bug



Affects Versions:


current



Assignee:


Nicolas De Loof



Components:


git-client



Created:


20/Nov/13 7:19 PM



Description:


The support for the .netrc file requires a certain file format, i.e. one line per host with all information on it. This is an unnecessary limitation as the netrc file would also support the format:

machine host
login user
password secret

which is a format used by many users but not supported by the git client plugin. Also the parser breaks easily as it requires exactly one space between the fields.




Project:


Jenkins



Priority:


Major



Reporter:


Florian Zschocke

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.