Changesets: Tools

master 8c26efe7

2021-05-06 07:53

dregad


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

dregad


Details Diff
Fix static analysis warnings
mod - github_plugin_teams.py Diff File

master 19f1bc02

2021-05-06 04:45

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


Details Diff
Add missing `!`

Regression from 4658d62db2a8344c39307aafd9b8e47bab96bc96
mod - update-trackers.sh Diff File

master 4658d62d

2021-03-07 07:38

dregad


Details Diff
Fix shellcheck warnings
mod - update-trackers.sh Diff File

master 9a473c63

2021-03-07 07:30

dregad


Details Diff
Use git-rev-parse to retrieve short commit sha
mod - update-trackers.sh Diff File

master fc65663e

2021-03-07 07:20

dregad


Details Diff
nightly-builds.sh: new log() function
mod - nightly-builds.sh Diff File

master 421087da

2021-03-07 07:12

dregad


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

dregad


Details Diff
Switch to using scripts in mantisbt repo

Fixes #28008
mod - nightly-builds.sh Diff File

master e2ec0af8

2021-03-07 06:59

dregad


Details Diff
Fix shellcheck warnings
mod - nightly-builds.sh Diff File

master 341729b4

2021-03-07 04:47

dregad


Details Diff
Convert irclogs.py to Python3
mod - irclogs.py Diff File

master 91ce1e66

2021-03-07 02:50

dregad


Details Diff
docbook-build.sh cron script

This script is intended to be scheduled with cron for automated builds
of the MantisBT manual.

This is the original version of the script, that was deployed to the
server following the 2017 upgrade.
add - docbook-builds.sh Diff File

master ddc86927

2021-03-07 02:44

dregad


Details Diff
docbook-build.sh update after build scripts move

Revise the script following the move of the Python build scripts to the
the main MantisBT repo.
mod - docbook-builds.sh Diff File

master 740849bf

2020-10-30 09:56

dregad


Details Diff
Fix shellcheck warnings
mod - nightly-builds.sh Diff File

master fca3b3e1

2020-10-30 09:47

dregad


Details Diff
Nightly build: allow wildcards for branches

set 'master*' as default.
mod - nightly-builds.sh Diff File

master 3112e131

2020-05-17 01:52

dregad


Details Diff
Do not abort if a plugin can't be updated

An error while executing the git command subprocess caused the whole
script to stop.

Taking advantage of new python3 subprocess.run() features, we catch the
exception and log the error, allowing the whole process to complete.
mod - get_all_repos.py Diff File

master b46ed8f3

2020-05-17 01:24

dregad


Details Diff
Python 3
mod - get_all_repos.py Diff File

master 6ac2ba9d

2020-05-17 01:19

dregad


Details Diff
Adapt to use config
mod - get_all_repos.py Diff File

master 15c6094b

2020-05-17 01:15

dregad


Details Diff
Fix loading config from outside of tools dir

Calling a script importing the config module from another directory
was triggering a FileNotFoundError exception.
mod - config.py Diff File

master f8843253

2020-05-16 15:19

dregad


Details Diff
Get GitHub token from config
mod - merged_pr_branches.py Diff File

master b698cf69

2020-05-16 15:10

dregad


Details Diff
Handle case of empty config.yml or section

Change the logic in __update() to avoid triggering an exception in this
case.
mod - config.py Diff File
 First  Prev  1 2 3 4 5 6 7 8 9 10 11  Next  Last