Test-infra: Prow config is mixing camelCase, _underscores _, and -hyphens-

Created on 9 May 2018  Â·  17Comments  Â·  Source: kubernetes/test-infra

  • camelCase, eg. missingLabels in the tide config
  • underscores, mostly used eg. push_gateway
  • hyphens, eg. branch-protection

We should probably converge to a single format and stick with it.

@fejta @stevekuznetsov @cjwagner @BenTheElder @krzyzacy

/area prow

areprow kincleanup lifecyclrotten ¯\_(ツ)¯

Most helpful comment

We should make label_sync randomly assign a new color to the area/bikeshed label whenever the tool runs

All 17 comments

/shrug

+1 to snake_case IMO

/kind bug
/area bikeshed

we should also document whatever we move to somewhere or have a config linter to prevent regressions.

I vote hyphens, but I don't care much as long as we are consistent.

pronounSubject_I verbPredicate_Think pronounSubject_We verbAuxilliary_Should verbPredicate_Use adjective_Hungarian nounDirect_Notation

We should make label_sync randomly assign a new color to the area/bikeshed label whenever the tool runs

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

/remove-lifecycle stale

If we want to look like k8s we should go with camelCase. Generically, can we write a serializer that loads either from field_name if present or fieldName if not? then we can do this migration slowly.

We can add a new type embedding the real type temporarily that exposes the alternate field and then fixup that type into the real type.

+1 for going k8s style with camelCase for consistency.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

/remove-lifecycle rotten

/lifecycle frozen
/remove-kind bug
/kind cleanup
/milestone 2019-goals

Consistency helps discoverability and adoption

/remove-lifecycle frozen
all the inconsistencies remain

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cblecker picture cblecker  Â·  4Comments

chaosaffe picture chaosaffe  Â·  3Comments

zacharysarah picture zacharysarah  Â·  3Comments

cjwagner picture cjwagner  Â·  3Comments

Aisuko picture Aisuko  Â·  3Comments