[JIRA] (JENKINS-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: Blue Ocean 1.1 up next Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: up next Blue Ocean 1.1 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: up next Blue Ocean 1.1 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: Blue Ocean 1.1 up next Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Priority: Minor Critical Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: up next 1.1 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: 1.1 up next 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: 1.1 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: post-release 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay Sprint: post-release 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title Stephen Connolly commented on JENKINS-40367 Re: Investigate making use of categories in with SCM 2.0 API They will always have the same name... there is getName() which returns a name for use in URLs. there is getDisplayName() which returns a localized name in the current locale (we can adapt the API to return the localizable directly if you need that access to all the translations). The collection you get from the API will always be in getName() sorted order under Locale.ENGLISH. If you add a second source then the display name / name may get modified... For example, one source has Pull Requests under the name pull-requests... another source has Change Requests under the name change-requests... these are both the same category, so when a multibranch project has multiple sources they will be combined into change-requests_pull-requests as the getName() and the getDisplayName() will be Change Requests / Pull Requests... To give you a more concrete example... If you have an Accurev source and a GitHub source in the same multibranch project (because say you are migrating from Accurev to GitHub) you could then have: An UnclassifiedSCMHeadCategory with a name of default and a display name of Branches / Streams A ChangeRequestSCMHeadCatgeory with a name of pull-requests and a display name of Pull Requests (because Accurev does not have change requests as a concept A (to be implemented) TagSCMHeadCategory with a name of snapshots_tags and a display name of Snapshots / Tags If all this was in an organization folder, then the organization folder will have an UnclassifiedSCMSourceCategory with a name of default and a display name of Depots / Repositories All because Accurev uses a different set of idiomatic names for the concepts. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay commented on JENKINS-40367 Re: Investigate making use of categories in with SCM 2.0 API Stephen Connolly will the SCMCategory have ordinal value? e.g. if I call getCategories will the return value of these always be the same? 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay edited a comment on JENKINS-40367 Re: Investigate making use of categories in with SCM 2.0 API [~stephenconnolly] will the SCMCategory have ordinal value? e.g. if I call {{getCategories}} will the return value of these returned collection order always be the same? 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay commented on JENKINS-40367 Re: Investigate making use of categories in with SCM 2.0 API Patrick Wolf that's right - it would encompass work for any other implementations we might want to support. 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title Patrick Wolf commented on JENKINS-40367 Re: Investigate making use of categories in with SCM 2.0 API And other implementations such as Gitlab, Gogs, etc that don't use the term "Pull Requests" 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay updated an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Change By: James Dumay The new SCM API allows:* Plugins can provide custom categories (e.g. Branches, Pull Requests, Tags, etc)* Categories are localizable and can have an ordinal value* {{SCMSource.getCategories()}} can be used to fetch the categories for a scm source*In Scope** We'd like new categories to show up in Blue Ocean in the same way that Branches show up in Blue Ocean today.* We use the SCMSource's provided names and ordering returned from `getCategories` as tabs in the UI.* Remove our concept of "branches" and "pull requests"? ping [~stephenconnolly] 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 opti
[JIRA] (JENKINS-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay edited a comment on JENKINS-40367 Re: Investigate making use of categories in with SCM 2.0 API [~hrmpw] [~stephenconnolly] this is what it will take for us to support "tags" 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay commented on JENKINS-40367 Re: Investigate making use of categories in with SCM 2.0 API Patrick Wolf this is what it will take for us to support "tags" 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-40367) Investigate making use of categories in with SCM 2.0 API
Title: Message Title James Dumay created an issue Jenkins / JENKINS-40367 Investigate making use of categories in with SCM 2.0 API Issue Type: Task Assignee: Unassigned Components: blueocean-plugin Created: 2016/Dec/11 11:32 PM Priority: Minor Reporter: James Dumay The new SCM API allows: Plugins can provide custom categories (e.g. Branches, Pull Requests, Tags, etc) Categories are localizable and can have an ordinal value SCMSource.getCategories() can be used to fetch the categories for a scm source In Scope We'd like new categories to show up in Blue Ocean in the same way that Branches show up in Blue Ocean today. We use the SCMSource's provided names and ordering returned from `getCategories` as tabs in the UI. Remove our concept of "branches" and "pull requests"? ping Stephen Connolly