Skip to content

inclusive language tags: jenkins_slave_type renamed to jenkins_node_type#499

Open
nitrocode wants to merge 2 commits into
jenkinsci:masterfrom
nitrocode:slave-to-node
Open

inclusive language tags: jenkins_slave_type renamed to jenkins_node_type#499
nitrocode wants to merge 2 commits into
jenkinsci:masterfrom
nitrocode:slave-to-node

Conversation

@nitrocode

@nitrocode nitrocode commented Sep 16, 2020

Copy link
Copy Markdown

I know there are many other master/slave references. This one will only correct the issue with jenkins ec2 worker tags.

This is also consistent with Jenkins using the word node for their workers.

Ref: https://tools.ietf.org/id/draft-knodel-terminology-02.html

Ticket: https://issues.jenkins-ci.org/browse/JENKINS-63660

@nitrocode

Copy link
Copy Markdown
Author

Hi @fcojfernandez @res0nance @MRamonLeon

What are some of the thoughts on this ?

@res0nance

Copy link
Copy Markdown
Contributor

This is going to break the node counting. Not sure how to best handle this

@nitrocode

Copy link
Copy Markdown
Author

Where is node counting codified?

@res0nance

Copy link
Copy Markdown
Contributor

private List<Filter> getGenericFilters(String jenkinsServerUrl, SlaveTemplate template) {

@nitrocode

nitrocode commented Sep 28, 2020

Copy link
Copy Markdown
Author

Thanks. It sounds like it might be best to have logic to count both the jenkins_slave_type and jenkins_node_type tag names but tag the latter going forward for newly created instances. For the getGenericFilters, we could count both tag names. I'll put in some more work.

Relevant code references (for myself):

@dannykansas

Copy link
Copy Markdown

What additional changes are needed, if any, for this to be ready for the next release?

@res0nance

Copy link
Copy Markdown
Contributor

What additional changes are needed, if any, for this to be ready for the next release?

Something to make it backwards compatible, as is this will break backwards compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

4 participants