Skip to content
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

allow to specify disabled message payload in mirror.py #3102

Closed
vladak opened this issue Apr 6, 2020 · 1 comment
Closed

allow to specify disabled message payload in mirror.py #3102

vladak opened this issue Apr 6, 2020 · 1 comment
Labels

Comments

@vladak
Copy link
Member

vladak commented Apr 6, 2020

Is your feature request related to a problem? Please describe.
The mirror.py script can execute a script or do a RESTful call for disabled projects. In the latter case more flexibility in the payload would be handy so that the users can determine the cause easily from the UI.

Describe the solution you'd like
If a project is disabled the value of the disabled property can be either boolean or string so the RESTful call will either use default message or custom, respectively.

Example:

projects:
  foo:
    # no longer active but used to support customers
    disabled: true
  bar:
    disabled: disabled, upstream not reachable (as of 02/2020)

Alternatives
Use the default payload as a prefix.

@vladak vladak added enhancement tools Python tools labels Apr 6, 2020
@vladak
Copy link
Member Author

vladak commented Aug 18, 2020

fixed via #3135

@vladak vladak closed this as completed Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant