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

fixed release_date in janitor.py #428

Merged
merged 1 commit into from
Dec 30, 2022
Merged

Conversation

onemarcfifty
Copy link
Contributor

The janitor would fail if a branch node contained a date value. As a result, the branches.json, latest.json and overview.json files are never created and therefore acu and/or luci-app-attendedsysupgrade would not be able to update from the asu instance.

Converting json node values to string by default fixes the issue.

This fixes #427

Signed-off-by: Marc Ahlgrim marc@onemarcfifty.com

@onemarcfifty
Copy link
Contributor Author

Hi @aparcar @dangowrt - would you please mind approving the CI workflow ? I am a first time contributor in this repo. Many thanks !

asu/janitor.py Show resolved Hide resolved
@aparcar
Copy link
Member

aparcar commented Dec 29, 2022

Thanks for your contribution and the quick fix!

@codecov
Copy link

codecov bot commented Dec 29, 2022

Codecov Report

Base: 85.39% // Head: 85.39% // No change to project coverage 👍

Coverage data is based on head (72d6164) compared to base (15f1bfa).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head 72d6164 differs from pull request most recent head 8592980. Consider uploading reports for the commit 8592980 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #428   +/-   ##
=======================================
  Coverage   85.39%   85.39%           
=======================================
  Files          13       13           
  Lines        1150     1150           
=======================================
  Hits          982      982           
  Misses        168      168           
Impacted Files Coverage Δ
asu/janitor.py 75.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@aparcar
Copy link
Member

aparcar commented Dec 29, 2022

Could you please add the PR text to the commit message?

The janitor would fail if a branch node contained a date value. As a result, the branches.json, latest.json and overview.json files are never created and therefore acu and/or luci-app-attendedsysupgrade would not be able to update from the asu instance.

Converting json node values to string by default fixes the issue.

Signed-off-by: Marc Ahlgrim <marc@onemarcfifty.com>
@onemarcfifty
Copy link
Contributor Author

added PR text to commit

@aparcar aparcar merged commit ddc88cb into openwrt:master Dec 30, 2022
@aparcar
Copy link
Member

aparcar commented Dec 30, 2022

Awesome thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ASU own Server (Docker): Build working with Swagger but not with AUC
2 participants