Changesets: Tools
master f3ca9f0b 2021-06-02 12:34 Details Diff |
Nightly builds: remove build directories We don't use them or offer them for download, so there is no need to keep the source directories used to generate the nightly builds tarballs once they have been created. |
||
mod - nightly-builds.sh | Diff File | ||
master 3c04cff9 2021-06-02 12:32 Details Diff |
Nightly builds: no need to include manuals Unlikely that a person downloading the nightly build would need the manual, and if they did they can always get the latest version online at https://mantisbt.org/documentation.php |
||
mod - nightly-builds.sh | Diff File | ||
master 285ea384 2021-05-06 09:33 Details Diff |
Config: remove obsolete user and password keys Accessing the GitHub API with user/password is no longer possible since 2020-11-13, so it makes no sense to keep these settings in here. |
||
mod - config_defaults.yml | Diff File | ||
master 6a22fb6a 2021-05-06 09:19 Details Diff |
New script to identify merged branches to delete Once a PR has been merged, its reference branch is in most cases no longer needed. GitHub offers a button to delete it, but this is a manual task and if not done right away developers forget to do it and these branches tends to pile up. This script checks all branches in the specified developer's repository against successfully merged PRs that were submitted by that developer in the reference repository. If one or more matching references are found, it prints a command that can be used to delete the no-longer needed branches. |
||
add - merged_pr_branches.py | Diff File | ||
master d1fff335 2021-05-06 09:17 Details Diff |
New script to update Github teams access to plugin repos Helper script for mantisbt-plugins organization maintenance. Uses Github API to - Create a team for each plugin, granting push access to it - grant the "Special" teams specified in config file access to all plugins in the organization |
||
mod - config_defaults.yml | Diff File | ||
add - github_plugin_teams.py | Diff File | ||
master 7ab8cab4 2021-05-06 09:11 Details Diff |
New script to get all repos for an org Clones or updates local copies of all the specified organization's repositories. Execute in a new directory, or one already containing one or more of the organization's repos. |
||
add - get_all_repos.py | Diff File | ||
master 5a56a458 2021-05-06 09:04 Details Diff |
Print team URL for "orphan" Facilitates manual check for those. |
||
mod - github_plugin_teams.py | Diff File | ||
master 0cd735ae 2021-05-06 09:02 Details Diff |
Fix deprecated method call DeprecationWarning: Call to deprecated method set_repo_permission. (Team.set_repo_permission() is deprecated, use Team.update_team_repository() instead.) |
||
mod - github_plugin_teams.py | Diff File | ||
master 55631840 2021-05-06 08:59 Details Diff |
Improve handling of token with insufficient rights Catch the error early, and provide descriptive message. |
||
mod - github_plugin_teams.py | Diff File | ||
master 172bc675 2021-05-06 08:57 Details Diff |
Rename Github object variable to 'gh' | ||
mod - github_plugin_teams.py | Diff File | ||
master 8c26efe7 2021-05-06 07:53 Details Diff |
Use token to access GitHub API User/password authentication is no longer possible since 2020-11-13. |
||
mod - github_plugin_teams.py | Diff File | ||
master 90fa75e0 2021-05-06 04:52 Details Diff |
Fix static analysis warnings | ||
mod - github_plugin_teams.py | Diff File | ||
master 19f1bc02 2021-05-06 04:45 Details Diff |
Set default credentials to null instead of None This way, when pyyaml imports the config file, the attribute is actually set to _None_ and not 'None' (string). |
||
mod - config_defaults.yml | Diff File | ||
master 800c5a0d 2021-05-06 04:41 Details Diff |
Handle invalid credentials error Previously, a misleading "repo not found" error would be printed. |
||
mod - merged_pr_branches.py | Diff File | ||
master 820eee8f 2021-05-06 04:40 Details Diff |
Fix static analysis warnings - unused imports - declare global Github object - Use """ instead of ''' for docstrings - get_options() has no return value |
||
mod - merged_pr_branches.py | Diff File | ||
master 0f2f82ee 2021-05-06 01:51 Details Diff |
Use pyyaml safe_load() function load() is deprecated for security reasons [1]. [1]: https://msg.pyyaml.org/load |
||
mod - config.py | Diff File | ||
master f74dbac1 2021-04-04 14:03 Details Diff |
irclogs.py: Fix syntax errors - renamed variable `source` to `source_dir` - use `{}` as format() placeholder |
||
mod - irclogs.py | Diff File | ||
master 551846f7 2021-03-07 07:54 Details Diff |
Add missing `!` Regression from 4658d62db2a8344c39307aafd9b8e47bab96bc96 |
||
mod - update-trackers.sh | Diff File | ||
master 4658d62d 2021-03-07 07:38 Details Diff |
Fix shellcheck warnings | ||
mod - update-trackers.sh | Diff File | ||
master 9a473c63 2021-03-07 07:30 Details Diff |
Use git-rev-parse to retrieve short commit sha | ||
mod - update-trackers.sh | Diff File | ||
master fc65663e 2021-03-07 07:20 Details Diff |
nightly-builds.sh: new log() function | ||
mod - nightly-builds.sh | Diff File | ||
master 421087da 2021-03-07 07:12 Details Diff |
Don't hardcode git commit sha length to 7 Since Git 2.11 [1], by default the abbreviated commit sha's length is determined automatically based on the number of objects in the repository. As of this commit, in the mantisbt repository that gives us 9 chars, which causes the nightly-builds.sh script's logic to keep the N most recent builds to fail. Changing the regex to accept any number of chars. Fixes #28009 [1]: https://github.com/git/git/blob/master/Documentation/RelNotes/2.11.0.txt#L22 |
||
mod - nightly-builds.sh | Diff File | ||
master bf636c65 2021-03-07 06:59 Details Diff |
Switch to using scripts in mantisbt repo Fixes #28008 |
||
mod - nightly-builds.sh | Diff File | ||
master e2ec0af8 2021-03-07 06:59 Details Diff |
Fix shellcheck warnings | ||
mod - nightly-builds.sh | Diff File | ||
master 341729b4 2021-03-07 04:47 Details Diff |
Convert irclogs.py to Python3 | ||
mod - irclogs.py | Diff File |