-
Notifications
You must be signed in to change notification settings - Fork 13
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
Improve error processing #1550
Comments
Another issue, that could be part of this or create a separate bug. When running any django script that requires How about something like this. In the code, any place, everyplace, where
In any of those cases, print a message "The environment variable GITHUB_TOKEN needs to be set as a GitHub api token. The current value is _, which is not correct. Please set this variable. Exiting." And then gracefully exit with a non-zero status. Should be a targeted fix. If some scripts don't use GITHUB_TOKEN, they are permitted to run without the check. |
When importing release notes, the code tries to get many S3 objects that don't exist, causing these errors:
NoSuchKey</Code><Message>The specified key does not exist.
And accompanying long stack traces.
It's known during
import_release_notes
that the files might not exist. Could the error be handled more gracefully? For exampleor even better,
Another similar issue, about avoiding an error: when importing releases, the script contacts https://archives.boost.io:443 to import archives. It will search in a directory and find files with names such as https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.gz
The "releases" named 'master' and 'develop' should be skipped on that particular step, as it tries to import
archive files from /release/develop/source/ and /release/master/source which are nonexistent directories, causing errors.
Check the name of the release. Don't try to import archives for the specific releases that are named 'master' and 'develop'.
The text was updated successfully, but these errors were encountered: