[JIRA] (JENKINS-37524) Add sort mode for branch parameter: most recently updated
Title: Message Title Boguslaw Klimas edited a comment on JENKINS-37524 Re: Add sort mode for branch parameter: most recently updated The plugin does not use native git commands but it uses the API defined in the interface [GitClient|https://github.com/jenkinsci/git-client-plugin/blob/master/src/main/java/org/jenkinsci/plugins/gitclient/GitClient.java]Currently this API does not allowed sorting via "--sort=-taggerdate".Additionally in version 0.8.0 I’ve switched from operating on updating repository to ls-remote commend (I use method getRemoteReferences from API) when getting tags or branch. [JENKINS-40232|https://issues.jenkins-ci.org/browse/JENKINS-40232] Clone [JENKINS-42073|https://issues.jenkins-ci.org/browse/JENKINS-42073]RegardsBoguslaw Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-37524) Add sort mode for branch parameter: most recently updated
Title: Message Title Boguslaw Klimas commented on JENKINS-37524 Re: Add sort mode for branch parameter: most recently updated The plugin does not use native git commands but it uses the API defined in the interface GitClient Currently this API does not allowed sorting via "--sort=-taggerdate". Additionally in version 0.8.0 I’ve switched from operating on updating repository to ls-remote commend (I use method getRemoteReferences from API) when getting tags or branch. Clone JENKINS-42073 Regards Boguslaw Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-37524) Add sort mode for branch parameter: most recently updated
Title: Message Title George Sakhnovsky commented on JENKINS-37524 Re: Add sort mode for branch parameter: most recently updated if git_version >= 2.7.0: git branch --sort=-committerdate else: git for-each-ref --sort=-committerdate refs/heads/ I got the above from the top answer to this StackOverflow question: http://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-37524) Add sort mode for branch parameter: most recently updated
Title: Message Title Boguslaw Klimas commented on JENKINS-37524 Re: Add sort mode for branch parameter: most recently updated HI George Sakhnovsky Could you add some more information about this feature. Add some example or git command. Regards Boguslaw Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- 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] (JENKINS-37524) Add sort mode for branch parameter: most recently updated
Title: Message Title George Sakhnovsky created an issue Jenkins / JENKINS-37524 Add sort mode for branch parameter: most recently updated Issue Type: Improvement Assignee: Boguslaw Klimas Components: git-parameter-plugin Created: 2016/Aug/18 8:28 PM Priority: Minor Reporter: George Sakhnovsky Please consider adding a sort mode which could be used with the branch parameter allowing sorting branches by when the branch was last updated. Add Comment This message was sent by Atlassian JIRA