Changesets: Tools

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

master 6071abfd

2020-05-16 15:04

dregad


Details Diff
Do not fail if config.yml does not exist
mod - config.py Diff File

master f8296b33

2020-05-16 15:00

dregad


Details Diff
Accessing GitHub API with user/password is deprecated
mod - config_defaults.yml Diff File

master b4d973a2

2020-05-16 06:37

dregad


Details Diff
Add command-line options processing
mod - merged_pr_branches.py Diff File

master e471e9ad

2020-05-16 06:16

dregad


Details Diff
Only print commands if there are branches to delete
mod - merged_pr_branches.py Diff File

master b7e68cd4

2020-05-16 06:13

dregad


Details Diff
Print commands to delete branches
mod - merged_pr_branches.py Diff File

master ae6b74bc

2020-05-16 06:12

dregad


Details Diff
Improve PR search query

Add 'head:' criteria to limit to existing author branches, to reduce the
number of REST queries. This greatly reduces the execution time for
contributors with many merged PRs.
mod - merged_pr_branches.py Diff File

master 33b77c39

2020-05-16 04:45

dregad


Details Diff
Abort if there are no merged branches
mod - merged_pr_branches.py Diff File

master 19132a43

2020-05-16 04:38

dregad


Details Diff
Python3 / pep8 fixes
mod - merged_pr_branches.py Diff File

master 5af7f0fd

2020-05-16 04:29

dregad


Details Diff
Handle error if user/repo is not found

Renamed function repo() -> get_repo().

Function used to return just the repository's full name (user/repo),
now it returns a repository object and exits if not found.
mod - merged_pr_branches.py Diff File
 First  Prev  1 2 3 4 5 6 7 8 9 10 11  Next  Last