-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-30141] Option to choose if depth is sticky #134
base: master
Are you sure you want to change the base?
Conversation
User can choose the desired behavior now (like --depth and --set-depth flags in svn)
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
} | ||
|
||
@DataBoundConstructor | ||
public ModuleLocation(String remote, String credentialsId, String local, String depthOption, boolean ignoreExternalsOption) { | ||
public ModuleLocation(String remote, String credentialsId, String local, String depthOption, boolean stickyDepth, boolean ignoreExternalsOption) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
binary compatibility issue. It's better to keep and deprecate the original constructor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I'm quite new to Java :-)
I've pushed a fix commit to my repository. Now, how is it customary to
proceed in such cases? Shall I open a new pull request?
On Wed, Sep 9, 2015 at 12:32 PM, Oleg Nenashev [email protected]
wrote:
In src/main/java/hudson/scm/SubversionSCM.java
#134 (comment)
:} @DataBoundConstructor
public ModuleLocation(String remote, String credentialsId, String local, String depthOption, boolean ignoreExternalsOption) {
public ModuleLocation(String remote, String credentialsId, String local, String depthOption, boolean stickyDepth, boolean ignoreExternalsOption) {
binary compatibility issue. It's better to keep and deprecate the original
constructor—
Reply to this email directly or view it on GitHub
https://github.com/jenkinsci/subversion-plugin/pull/134/files#r39023278.
@@ -51,6 +51,9 @@ THE SOFTWARE. | |||
<f:option value="unknown" selected="${instance.depthOption=='unknown'}">as-it-is</f:option> | |||
</select> | |||
</f:entry> | |||
<f:entry title="${%Make depth sticky}" field="stickyDepth"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also create a help file for this new option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Done :-)
@@ -0,0 +1,5 @@ | |||
<div> | |||
Choose if <tt>--set-depth</tt> (sticky) or <tt>--depth</tt> (non-sticky) option should be used for switch and update commands. Default value is sticky. | |||
More information can be found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vvv444 Please, use <code>
instead of <tt>
. I'll try to merge this PR soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Please note the check failed due to some timeout problem. Not because of my code. How can I rerun it? |
@vvv444 close and open the PR. |
@recena @oleg-nenashev Hey guys, any reason why this wasn't integrated? |
@vvv444 Yes, I'm avoiding to include new features until we improve our test coverage and solve bugs related to |
I would also prefer to avoid new features unless they are obviously self-contained like |
Hey guys, any ETA on when will this feature be integrated ? |
Somebody need to resolve the merge conflict |
https://issues.jenkins-ci.org/browse/JENKINS-30141
User can choose the desired behavior now (like --depth and --set-depth flags in svn)