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

contrib: rework update-modules to fix race cond. #441

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

grische
Copy link
Contributor

@grische grische commented Jun 20, 2024

Previously, the modules file was read and written to at the same time (if there were updates). This change works around this by reworking the file parsing.

Notable changes

  • only update the modules that are in GLUON_SITE_FEEDS
  • avoid SIGPIPE by listing only the commit for the target branch

Previously, the modules file was read and written to at the same time (if
there were updates). This change works around this by reworking the file
parsing.

Notable changes
- only update the modules that are in GLUON_SITE_FEEDS
- avoid SIGPIPE by listing only the commit for the target branch
@grische grische requested a review from T0biii June 20, 2024 07:57
@grische grische marked this pull request as ready for review June 20, 2024 08:13
@grische grische requested review from maurerle and a team as code owners June 20, 2024 08:13
Copy link
Member

@T0biii T0biii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for the rework :)

@grische grische added the stable label Jun 20, 2024
@grische grische merged commit cf31c9e into freifunkMUC:stable Jun 20, 2024
2 checks passed
@grische grische deleted the fix/update-modules branch June 20, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants