[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-12-30 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite closed an issue as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-14572 
 
 
 
  Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 

Change By:
 
 Mark Waite 
 
 
 

Status:
 
 Resolved Closed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-12-26 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite resolved as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
Included in git plugin 2.4.1 released 26 May 2015 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-14572 
 
 
 
  Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 

Change By:
 
 Mark Waite 
 
 
 

Status:
 
 Reopened Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-09-07 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
Mallik M if there is an issue with shallow clone not consistently remaining a shallow clone, please provide a separate bug report which shows the problem through a series of steps that others can duplicate. Console output is helpful, but is not sufficient evidence that there is a problem. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-09-07 Thread mallikarju...@veritas.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mallik M commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
Thanks Mark, pre-release plugin worked for me and now plugin is not fetching tags. 
One more observation is "Shallow clone" seems not working always, I am able to point this by looking at console output of my project. Yet times I see "--depth 1" with command and not always. 
Is there a way to fix this issue? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-09-01 Thread ronny.haen...@abas.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ronny Händel commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
Since there has been no git-plugin release (not yet) after my pull request was merged, our workaround was to checkout the sources, build and deploy the plugin manually. 
Another possibility is scripting all git operations like Douglas Beatty mentioned on 23/Oct/13 3:18 PM. Simply use "Execute shell" build steps for that. But this has one big drawback: This way, Jenkins cannot track the commits that are built and not send dedicated e-mails to the committers. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-09-01 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
Alternatives you can consider: 
 

Install a pre-release build of the git plugin which includes the change
 

Use a reference repository in your job definition to reduce the data transfer and disc space use
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-09-01 Thread mallikarju...@veritas.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mallik M commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
Is there any workaround for this issue? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-07-30 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: rhaendel Path: src/main/java/hudson/plugins/git/extensions/impl/CloneOption.java src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/config.groovy src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-noTags.html src/test/java/hudson/plugins/git/TestGitRepo.java src/test/java/hudson/plugins/git/extensions/impl/CloneOptionNoTagsTest.java http://jenkins-ci.org/commit/git-plugin/bfeda3e661531bd9baec937ec4a4944ac482692c Log: JENKINS-14572 Add Do not fetch tags advanced clone option 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-07-30 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: rhaendel Path: src/main/java/hudson/plugins/git/extensions/impl/CloneOption.java src/test/java/hudson/plugins/git/extensions/impl/CloneOptionShallowDefaultTagsTest.java http://jenkins-ci.org/commit/git-plugin/24fb7f3c441057ad09fc3ce6bbed797e92bc Log: JENKINS-14572 Add a test case for clone option's default 'fetch tags' behaviour 
Even with shallow clones fetch all tags is the default. Just added a missing test case and found a true/false bug in my previous commit which toggled the default to the not backwards compatible value. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-07-30 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Nicolas De loof Path: src/main/java/hudson/plugins/git/extensions/impl/CloneOption.java src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/config.groovy src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-noTags.html src/test/java/hudson/plugins/git/TestGitRepo.java src/test/java/hudson/plugins/git/extensions/impl/CloneOptionNoTagsTest.java src/test/java/hudson/plugins/git/extensions/impl/CloneOptionShallowDefaultTagsTest.java http://jenkins-ci.org/commit/git-plugin/5c7381cf59d58fe7e0b19a0012fa96144de66b46 Log: Merge pull request #333 from rhaendel/master 
JENKINS-14572 Add Do not fetch tags advanced clone option 
Compare: https://github.com/jenkinsci/git-plugin/compare/6773c070cfff...5c7381cf59d5 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-06-27 Thread ronny.haen...@abas.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ronny Hndel commented on  JENKINS-14572 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Git plug-in fetches all tags even when refspec is provided  
 
 
 
 
 
 
 
 
 
 
We have a time and disk space problem with fetching all tags, too. 
It seems that git client plugin is already flexible enough to avoid fetching tags by setting the right option. I've added a check box Do not fetch tags to the advanced clone behaviors of the git plugin and made a pull request. This way a user can explicitly override the default behavior. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread zeus.mi...@gmail.com (JIRA)














































Zeus Minos
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















Is there any temp workaround ? Fetching all the tags in our case is just a waist of time.
00:01:28.364   C:\Program Files\Git\cmd\git.exe -c core.askpass=true fetch --tags --progress g...@gitlab.dev.local:superman/b.git +refs/heads/:refs/remotes/origin/ --depth=1
00:07:05.694   C:\Program Files\Git\cmd\git.exe config remote.origin.url g...@gitlab.dev.local:superman/b.git # timeout=10


As you can see It takes about 7 min to execute the next cmd. This is just a waist of time :-/

Please share with me any workaround 



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread zeus.mi...@gmail.com (JIRA)














































Zeus Minos
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















@Mark Waite I will really love to do it, but unfortunately my days are way too short to do that. This issue is not impacting just me. I am sure that there are other folks around here with  better understanding of this plugin and they can do it in a blink of an eye.



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread zeus.mi...@gmail.com (JIRA)












































 
Zeus Minos
 edited a comment on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided
















@Robert More: Thank you for your replay . Well Shallow Clone has been active since day 1 in our jobs and still 7 min. Guys can you please allow us to customize the git parameters in the coming versions. In first place I do not need or want to fetch any tags :-/



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread moo...@audible.com (JIRA)














































Robert Moore
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















In our case, we just want a flag to disable the "initial" fetch of all tags.  With Gerrit plugin, we're fetching a unique refspec afterward, so there's no need for us to do more than "git init".  Would it be possible to have the option of disabling the initial fetch/clone?  We don't need anything more complex than that.



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread zeus.mi...@gmail.com (JIRA)














































Zeus Minos
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















@MArk Waite What do you mean by "Investigating the area of plugin where the --tag argument is passed?". Isn't such behavior hardcoded in the plugin? If not how shall I disabled it?



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread zeus.mi...@gmail.com (JIRA)














































Zeus Minos
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















@Robert More: Thank you for your replay . Well Shallow Clone has been active since day 1 in our jobs and still 7 min. Guys can you please allow us to customize the git parameters in the coming versions



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread mark.earl.wa...@gmail.com (JIRA)














































Mark Waite
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















That's a fair approach as well.



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread moo...@audible.com (JIRA)














































Robert Moore
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















We've been able to reduce cloning time by using a reference repo.  We first created a bare clone in a shared space on each build slave, then use this as a reference repo in the build job.  Now it clones from the reference, but it's a much faster FS operation rather than network.  It's still not ideal, since we don't really need the repo to consume disk (or duplicated into the builds), but it's cut out ~2 minutes of the build job.

In the project configuration, navigate to "Source code management" - "Additional Behaviours" - "Advanced Clone Behaviors". Check "Shallow Clone" and then the absolute path to the local cloned repo.



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread moo...@audible.com (JIRA)












































 
Robert Moore
 edited a comment on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided
















We've been able to reduce cloning time by using a reference repo.  We first created a bare clone in a shared space on each build slave, then use this as a reference repo in the build job.  Now it clones from the reference, but it's a much faster FS operation rather than network.  It's still not ideal, since we don't really need the repo to consume disk (or duplicated into the builds), but it's cut out ~2 minutes of the build job.

In the project configuration, navigate to "Source code management" - "Additional Behaviours" - "Advanced Clone Behaviors". Check "Shallow Clone" and then the absolute path to the local cloned repo.

EDIT: If you're not already using "Advanced Clone Behaviours", be sure to add it from the "Add" button.



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread mark.earl.wa...@gmail.com (JIRA)














































Mark Waite
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















The plugin already has significant challenges the plugin maintaining compatibility among its many different use cases.  I'd rather not provide even more opportunities for user surprises by allowing general purpose customization of the parameters passed to git.  If we allow you to pass a custom parameter to a specific git command, it seems like that will then guarantee that the plugin must use that exact command and honor that exact parameter indefinitely.

As an example, previously the plugin used "git clone" to populate the repository. When credentials support was added, that was switched to "git fetch". In the future, it may switch back to "git clone".  Allowing you to pass arbitrary parameters to a subset of git commands used by the plugin seems like it will either make compatibility even more difficult, or make future changes even more difficult.

Have you considered investigating the area of the plugin where the --tags argument is passed, seeking a way to remove that call to --tags without harming the rest of the plugin?



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread mark.earl.wa...@gmail.com (JIRA)














































Mark Waite
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















Zeus Minos, I mean that you can fork your own copy of the git client plugin source code and the git plugin source code on GitHub, compile them, locate the places in the source code where the --tag argument is passed to command line git, then you can experiment with modifying the behavior to better match what you want.

That will allow you to modify and test your changes. If you find the changes are useful to you and don't break other use cases, you could provide unit tests which confirm the new behavior you've added, and can submit them as a pull request for possible inclusion in the plugin.



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-27 Thread zeus.mi...@gmail.com (JIRA)












































 
Zeus Minos
 edited a comment on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided
















@Mark Waite I will really love to do it, but unfortunately my days are way too short to do that. This issue is not impacting just me. I am sure that there are other folks around here with  better understanding of this plugin and they can do it in a blink of an eye. Worst case I will say bye bye to this plugin and I will handle that like in the old days "Executed Windows Batch cmd" 



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-04-21 Thread moo...@audible.com (JIRA)














































Robert Moore
 commented on  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided















I'm seeing this behavior on Jenkins 1.598, Git-Plugin 2.3.5.  It appears that git-plugin first fetches all branches with depth=1 (~500MB in our case), and then it fetches the specific change it needs (~20MB).  I've tested locally and the second fetch is the only one needed for a build.  

  git init /path/to/.jenkins/workspace/Example-Project-Job
 Fetching upstream changes from ssh://u...@example.com/Project.git
  git --version
using GIT_SSH to set credentials The Credentials for the user system user
  git fetch --tags --progress ssh://u...@example.com/Project.git +refs/heads/:refs/remotes/origin/ --depth=1
  git config remote.origin.url ssh://u...@example.com/Project.git
  git config remote.origin.fetch +refs/heads/:refs/remotes/origin/
  git config remote.origin.url ssh://u...@example.com/Project.git
Fetching upstream changes from ssh://u...@example.com/Project.git
using GIT_SSH to set credentials The Credentials for the user system user
  git fetch --tags --progress ssh://u...@example.com/Project.git refs/changes/93/3393/2
  git rev-parse 12345...123^{commit}
Checking out Revision 12345...123 (mainline)
  git config core.sparsecheckout
  git checkout -f 12345...123



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-01-26 Thread martin.danjo...@gmail.com (JIRA)














































Martin dAnjou
 updated  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided
















Change By:


Martin dAnjou
(26/Jan/15 10:10 PM)




Environment:


WindowsServer2008Master,Jenkinsver.1.447.2
;LinuxJenkins1.597,Gitplugin2.2.12.



























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/d/optout.


[JIRA] [git-plugin] (JENKINS-14572) Git plug-in fetches all tags even when refspec is provided

2015-01-26 Thread martin.danjo...@gmail.com (JIRA)














































Martin dAnjou
 reopened  JENKINS-14572


Git plug-in fetches all tags even when refspec is provided
















I would like to reopen the issue.

The documentation says:
When do you want to modify this value? A good example is when you want to just retrieve one branch. For example, +refs/heads/master:refs/remotes/origin/master would only retrieve the master branch and nothing else.

But when I set the refspecs to +refs/heads/master:refs/remotes/origin/master the repo in the workspace contains other references (branches) as well.

As I try to learn how to use this plugin, I find this confusing. Please, either change the documentation, or the behavior.

This is on linux, Jenkins 1.597, Git plugin 2.2.12.





Change By:


Martin dAnjou
(26/Jan/15 10:08 PM)




Resolution:


WontFix





Status:


Resolved
Reopened



























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/d/optout.