You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Teach Bedevere to suggest regenerated configure file #537
To modify configure.ac, contributors need to use the https://github.com/tiran/cpython_autoconf Docker image. However, Windows users are out of luck; for my contributions I need to use a throwaway GitHub Actions workflow.
Probably, we should teach Bedevere to call this image for us, save the generated configure as a workflow artifact and post a link with an explanatory note on what it's for and how to use it.
To modify configure.ac, contributors need to use the https://github.com/tiran/cpython_autoconf Docker image. However, Windows users are out of luck; for my contributions I need to use a throwaway GitHub Actions workflow.
I am not sure for this suggestion.
If user didn't regenerate configure file, how do we can belive that user verify the change in their local environment?
Fortunately, Check if generated files are up to datealready prints a diff that perfectly solves the underlying issue without adding anything to Bedevere:
iftest -n "$changes";thenecho"Generated files not up to date."echo"Perhaps you forgot to run make regen-all or build.bat --regen. ;)"echo"configure files must be regenerated with a specific version of autoconf."echo"$changes"echo""
git diff --staged ||trueexit 1
fi
Activity
arhadthedev commentedon Apr 12, 2023
Triggering Bedevere via events will create something like this:
but worse. The whole approach needs to be redesigned.
corona10 commentedon Apr 12, 2023
I am not sure for this suggestion.
If user didn't regenerate configure file, how do we can belive that user verify the change in their local environment?
arhadthedev commentedon Apr 13, 2023
Fortunately,
Check if generated files are up to datealready prints a diff that perfectly solves the underlying issue without adding anything to Bedevere:Thus closing.