Commit Graph
1809 Commits
Author SHA1 Message Date
mvdbeek 787b8040c8 Use galaxy-release-util to upload python packages 2023-06-13 15:49:37 +02:00
mvdbeek 48573d3a1f Fix next version number 2023-06-10 11:22:42 +02:00
mvdbeek 06c8fc073d Add --skip-existing flag to twine upload 2023-06-08 16:53:38 +02:00
Marius van den Beek 5c2460608b Merge pull request #16195 from mvdbeek/quit_if_branches_not_updated
[23.0] Assert that local branches are up to date in release point script
2023-06-06 15:53:54 +02:00
mvdbeek 7056942682 Fail if local branch doesn't match remote branch 2023-06-06 15:04:43 +02:00
mvdbeek e2e7cbc3f4 Make point release script compatible with docutils 0.16 2023-06-05 16:02:17 +02:00
John Chilton 2103eb0b8e Converge release process auth discovery. 2023-05-30 13:11:27 -04:00
mvdbeek a4f43ca6f9 Drop package_repository argument, just use TWINE_REPOSITORY_URL 2023-05-28 11:15:59 +02:00
mvdbeek c4548d0a84 --no-build-packages 2023-05-28 11:15:59 +02:00
mvdbeek 521d144ebd Fix twine upload command 2023-05-28 11:15:59 +02:00
mvdbeek ebf5b73594 Set default galaxy-root option to CWD 2023-05-28 11:15:59 +02:00
mvdbeek cc7e90211b Fix no_confirm logic 2023-05-28 11:15:59 +02:00
mvdbeek f1d0be7ef9 Fail on build errors 2023-05-28 11:15:59 +02:00
mvdbeek 4464ef9248 Implement pushing to upstream git url 2023-05-28 11:15:58 +02:00
mvdbeek 20a28bf2d8 Split functionality into subcommands 2023-05-28 11:15:58 +02:00
mvdbeek 93dae39806 Ensure that merges will not conflict 2023-05-28 11:15:58 +02:00
mvdbeek d8e62f8f5a Add script for creating (point) releases
Still working on it, but it's minimally useful already.
2023-05-28 11:15:57 +02:00
Dannon Baker f94e5521ba Fix release script to be compatible with YY.X dates
TODO: make this flexible enough to handle 24.X, but we need to
discuss the rest of the process
2023-04-10 16:51:05 -04:00
Nicola Soranzo bee3d2e7ac Merge branch 'release_22.05' into release_23.0 2023-04-03 16:31:48 +01:00
Dannon Baker 9b1301e6ae Apply black to forward merge 2023-03-27 10:51:25 -04:00
Dannon Baker caaa3e4f62 Joinedload replaces eagerload 22.05 forward 2023-03-27 10:17:11 -04:00
Dannon Baker f959f05b97 Merge remote-tracking branch 'upstream/release_22.01' into release_22.05 2023-03-27 10:01:59 -04:00
mvdbeek d97adf6359 Fix slugified dataset display
Fixes https://github.com/galaxyproject/galaxy/issues/15676.
2023-03-03 18:39:34 +01:00
Nicola Soranzo 30f60493c3 Format Python code with black 23.1.0
with manual fixes to 3 files to make them compatible with black 22.12.0 .

We need to keep black pinned at `<23` until we vendorise `packaging`, since
the new version of black depends on `packaging >=22.0` which is the version
where `LegacyVersion` (which we use for tool lineages) was removed.
2023-02-01 23:51:03 +00:00
Dannon Baker 9b6dd967c2 Basic client installation command added 2023-01-20 10:19:48 -05:00
Nicola Soranzo 9ddea92375 Update lists of non-passing CWL conformance tests
for the cwl-1.0 branch.

- `dynamic_initial_workdir` and `dynamic_resreq_filesizes` now pass.
- 7 non-passing tests have been given a label upstream.
2023-01-17 17:40:11 +00:00
Nicola Soranzo 39c0000c1b Bump minimum pip version to 20.3 . Ignore `--replace-pip and --no-replace-pip` startup options
Pip 20.3 added support for PEP 600, i.e. manylinux wheels using platform
tags of the form "manylinux_${GLIBCMAJOR}_${GLIBCMINOR}_${ARCH}". Fix
installation of dependencies like pysam 0.20.0 wheels, which otherwise need
to be built from source and can fail as reported by @assuntad23 in
https://gist.github.com/assuntad23/3022db63a6878f044a209961dd40e592

Also:
- Install `wheel` to fix warning like `Using legacy setup.py install for
  beaker, since package 'wheel' is not installed.`
- Drop unnecessary `defaults` channel from conda commands.
- Fix "SC2223: This default assignment may cause DoS due to globbing. Quote
  it." errors reported by `shellcheck -x` .
2023-01-17 15:01:38 +00:00
John Davis dd553e805f Fix maintenance script bug 2022-12-16 10:15:21 -05:00
John Chilton 4a619eacad Small fixes to YAML export of OpenAPI schema. 2022-12-12 19:44:19 -05:00
Nicola Soranzo ee7d51f2f5 Merge branch 'release_22.05' into dev 2022-12-09 11:36:00 +00:00
mvdbeek 6f1fb8640f Update release-process with building package instructions 2022-12-08 14:57:05 +01:00
Marius van den Beek 2a6f9c2a29 Merge pull request #15017 from natefoo/gravity-1.0
Update Gravity version to 1.0.0 pre-release
2022-12-07 07:37:59 +01:00
mvdbeek b7c62d0ac8 Add script that can dump openapi schema without a running galaxy 2022-12-06 12:59:01 +01:00
Nate Coraor 1684da5c15 Don't modify venv activate to set $GRAVITY_STATE_DIR 2022-12-05 12:52:11 -05:00
mvdbeek eec177839f Drop scripts/function_tests.py 2022-11-01 18:45:08 +00:00
mvdbeek ba593057c2 Use `galaxy_driver_class` to create tool shed driver
Use ``autouse`` fixture to configure test driver
2022-11-01 18:45:07 +00:00
Nicola Soranzo 0391cd4b62 Rename FooBarTestCase test classes as TestFooBar in API, framework, performance, Selenium and ToolShed tests
These are collected by pytest only because they are `unittest.TestCase` derived,
but normally pytest collects only test classes whose name starts with `Test`, see
https://docs.pytest.org/en/7.1.x/reference/reference.html#confval-python_classes

Also:
- Some type annotations
2022-10-15 17:54:31 +01:00
Nicola Soranzo a81d680cca Merge branch 'release_22.05' into dev 2022-10-11 21:34:31 +01:00
John Davis 3f44ac633b Add shell wrapper for alembic CLI, improve inline docs 2022-09-30 10:34:58 -04:00
John Davis f1dc53e51e Remove duplication 2022-09-28 15:45:00 -04:00
John Davis bd56131ebd Split script into admin and dev
TODO: remove duplication between db.py and db_dev.py (split into
multiple commits is intentional)
2022-09-28 15:45:00 -04:00
John Davis 6c64a44a10 Remove run_alembic.sh from root; user scripts/run_alembic.py instead.
Rationale: move developer-focused scripts out of galaxy root.
2022-09-28 15:45:00 -04:00
John Davis e43552fdc5 Rename db.sh > manage_db.sh, following code review feedback 2022-09-28 15:45:00 -04:00
John Davis 503adcdf3b Override script name to display correct usage in cli help 2022-09-28 15:32:16 -04:00
John Davis dfd32a2ee8 Add type hints 2022-09-28 15:32:01 -04:00
John Davis b0a3c013ab Remove manage_db_adapter.py
We no longer need to translate the arguments of manage_db.sh into
arguments for alembic. The new facade script for alembic (db.sh)
accesses the alembic api programmatically.
2022-09-28 15:27:50 -04:00
John Davis 5e8add0e46 Rename migrate_db.py > run_alembic.py
This is consistent with other similar pairs of files:
[script-name].sh invoking scripts/[script-name].py (check_model, create_roolshed_db, db)

Also, the python file does not require exec permissions.
2022-09-28 15:25:51 -04:00
John Davis 5d376fdacc Drop create_db.sh, create_db.py (see note)
For ToolShed, we have create_toolshed_db.sh.

For galaxy and toolshed install databases (gxy and tsi branches under
alembic), we use the `init` subcommand of the `db.sh` script (`./db.sh
init`), which has exactly the same functionality as these deleted
scripts.

To the best of my knowledge, these are not used anywhere else (unlike,
for example, scripts/manage_db.py, which is called from the
ansible-galaxy role).
2022-09-28 15:25:43 -04:00
John Davis d8e8a8efb6 Add --raiseerr option; hide error traceback by default 2022-09-28 15:25:14 -04:00
John Davis 40249133cc Revise db.sh cli command aliases
1. Remove aliases from subcommands that change things (upgrade, downgrade,
revision, init) to reduce risk of accidental usage.

2. Add aliases to readonly subcommands (history, show, version,
   dbversion)

3. Minor edits
2022-09-28 15:24:57 -04:00