Changesets: Tools

master b047b367

2017-09-10 13:26

dregad


Details Diff
Nightly build: include all branches in 'origin' remote

This avoids having to manually edit the script when new maintenance
branches are created after a new release.
mod - nightly-builds.sh Diff File

master fcff6812

2017-09-10 13:23

dregad


Details Diff
Nightly builds: don't use phpenv by default

With the new server, it is not needed anymore
mod - nightly-builds.sh Diff File

master af7c4fab

2017-04-19 09:10

dregad


Details Diff
New restore issue script

Following accidental deletion of several issues, this script was written
to assist restoring individual issues including related records from a
database backup.

Issue #22747
add - restore_issue.php Diff File

master eb56109e

2017-04-13 05:03

dregad


Details Diff
Nightly builds: use specific PHP version using phpenv

To cope with outdated PHP version preventing nightly builds to complete
on master branch due to composer dependencies, phpenv has been setup on
the server and the script modified to switch to the specified version.

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

master ed695667

2017-04-02 14:22

dregad


Details Diff
Nightly: update branches list

Currently supported releases as of today: master, 2.3, 2.2, 1.3
mod - nightly-builds.sh Diff File

master f5aaae8a

2017-04-02 14:20

dregad


Details Diff
Nightly: improve logging
mod - nightly-builds.sh Diff File

master bb82d8e3

2017-04-02 14:17

dregad


Details Diff
Nightly: delete old builds not in branches list

Before starting the build process itself, the script will look in the
target directory for any old builds for branches that are not part of
the specified branches list, and delete them.

This ensures we only keep nightly builds for branches under active
development

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

master cfe30a2e

2017-04-02 08:12

dregad


Details Diff
Build: remove extra blank line in digest files

They are causing unnecessary warnings when validating the checksums e.g.
with `md5sum -c`
mod - buildrelease.py Diff File

master 3eae8e67

2017-04-02 07:11

dregad


Details Diff
Build: disable composer plugins and scripts execution

The nightly builds process runs as root from a cron job. This throws a
warning when executing composer.

Add recommended [1] parameters to composer install command.

Fixes #22644

[1] in https://getcomposer.org/root
mod - buildrelease-repo.py Diff File

master aacc337a

2017-04-02 07:09

dregad


Details Diff
Build: do not abort in case of composer error

If a composer error occurs, continue with the next ref's build instead
of aborting the process with exit code 1.
mod - buildrelease-repo.py Diff File

master 03d2b840

2017-03-20 09:17

dregad


Details Diff
buildrelease: install composer packages

If a composer.json file is present in the MantisBT root directory, the
script will execute 'composer install'.

If the composer.json file is invalid or some error occurs while
executing Composer, the script will abort with exit code 1.
mod - buildrelease-repo.py Diff File

master 9039c472

2017-01-28 13:40

dregad


Details Diff
Specify privilege associated with Github team

Instead of always granting 'push' access, it is now possible to set
the desired access (pull, push, admin) for each team in the config
file.
mod - config_defaults.yml Diff File
mod - github_plugin_teams.py Diff File

master e2c62ae5

2017-01-28 13:38

dregad


Details Diff
Handle invalid team name in config file
mod - github_plugin_teams.py Diff File

master d9cdccac

2017-01-28 11:40

dregad


Details Diff
Improve performance

Reduce number of Github API calls by caching repository data, and
processing that instead of making numerous has_in_repos() calls.

Benchmark shows 400% improvement in execution time (from 44s to 11s).
mod - github_plugin_teams.py Diff File

master ec00a4c3

2017-01-27 13:59

dregad


Details Diff
Ignore PHPStorm .idea files
mod - .gitignore Diff File

master da629754

2017-01-26 14:58

dregad


Details Diff
New script to update Github teams access to plugin repos

The 'Core team' and 'translatewiki.net' teams in the mantisbt-plugins
org should have push access to all repositories in the organization.

Due to the large number of repositories within the org, this becomes
painful to check manually. This script leverages the Github API to
check for any missing access, and grant it.
mod - config_defaults.yml Diff File
add - github_plugin_teams.py Diff File

master c6ab8a23

2017-01-26 14:50

dregad


Details Diff
Config module for python scripts

Implement a simple config module for Python scripts based on YAML files.

Default configuration is stored in `config_defaults.yml`. This file also
documents the available settings, which can be overriden as needed from
a `config.yml` file.
mod - .gitignore Diff File
add - config.py Diff File
add - config_defaults.yml Diff File

master db43fbe7

2017-01-11 05:53

dregad


Details Diff
Nightly builds: update list of branches to process

Add master-2.0.x
mod - nightly-builds.sh Diff File

master 75a738bd

2017-01-11 05:45

dregad


Details Diff
Nightly builds: fix bug when processing a single branch

Bash brace expansion does not work when there are no commas in the
list of branches to process.

Add special handling for when a single branch is specified.
mod - nightly-builds.sh Diff File

master bc0a3de0

2017-01-11 05:44

dregad


Details Diff
Nightly builds: add minimal console output

Useful when running the script interactively
mod - nightly-builds.sh Diff File

master da573a0d

2017-01-10 00:18

dregad


Details Diff
DB dump: fix path for anonymization script
mod - db-dump.sh Diff File

master 25147aa8

2016-08-27 20:30

vboctor


Details Diff
Exclude font awesome font files from line term
mod - check_lineterm.php Diff File

master 07a782bd

2016-08-27 13:23

dregad


Details Diff
nightly-builds.sh: disable builds for 1.2.x

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

master b99c5e36

2016-07-04 02:22

dregad


Details Diff
nightly-builds.sh: fix bug when processing > 2 branches

Issue #21189
mod - nightly-builds.sh Diff File

master 4b343a71

2016-07-04 02:20

dregad


Details Diff
nightly-builds.sh: add master-1.3.x to list of branches

Fixes #21189
mod - nightly-builds.sh Diff File
 First  Prev  1 2 3 4 5 6 7 8 9 10 11  Next  Last