212 Commits

Author SHA1 Message Date
Dannon Baker a3e29e5468 Use venv (when available) for yarn availability check 2023-07-25 11:03:56 -04:00
Dannon Baker 98aefd9ec1 Force makefile client targets to use .venv-shipped node 2023-07-25 10:23:07 -04:00
mvdbeek e6b0b514db Merge branch 'release_23.1' into dev 2023-06-30 15:10:57 +02:00
Dannon Baker 06c24b688f Explanation for max-old-space-size NODE_OPTIONS setting. See more at
https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytes
2023-06-27 15:25:03 -04:00
Dannon Baker 4dd1443e5d Makefile-based setting of NODE_OPTIONS for client build 2023-06-27 14:49:05 -04:00
mvdbeek 5e8e39a1d6 Update version to 23.2.dev0 2023-06-22 15:35:55 +02:00
mvdbeek bb969c7505 Replace bootstrap_history.py with galaxy-release-util 2023-06-13 20:42:35 +02:00
John Chilton 9b889db565 Allow typescript unit testing with navigation YAML.
Selenium tests, JS unit tests, and the tour all speak this language. This schema generation allows TypeScript to understand it as well.

This PR migrates UserDeletion.test.js to verify this works and demonstrate how to use this component in typescript.
2023-03-11 10:28:35 -05:00
Dannon Baker 1be4c3fbed Fix @next version numbers 2023-01-22 21:03:28 -05:00
Dannon Baker 04fdc8b332 Update version to .dev0 2023-01-22 20:57:48 -05:00
Dannon Baker e94eeda429 Drop client-watch, update 'serve' target in makefile 2023-01-20 13:10:17 -05:00
Dannon Baker a972ba14ce Rename make target to "install-client" instead of "installed-client" 2023-01-20 10:19:48 -05:00
Dannon Baker 9b6dd967c2 Basic client installation command added 2023-01-20 10:19:48 -05:00
Nicola Soranzo 7fee81607c Add linting with ruff
ruff (https://github.com/charliermarsh/ruff) is a new and extremely fast
Python linter, written in Rust.
Ruff can be used to replace Flake8 (plus a variety of plugins), isort,
pydocstyle, yesqa, eradicate, pyupgrade, and autoflake.
Here ruff is added to our current linters (flake8, flake8-bugbear and isort)
while we assess its reliability.
I've not enabled the isort rules because many of the options we use are not
implemented yet. I have instead enabled the pyupgrade rules (a tool which I
run manually every few months).

Also:
- Fix new linting errors reported by ruff.
2023-01-16 14:34:56 +00:00
John Chilton dedd624fe3 Improve API linting to include spell checking. 2022-12-13 10:53:47 -05:00
John Chilton 3bec14cbe4 More schema linting in order to get Python client working.
I find the YAML version more readable - is this okay?
2022-12-13 10:52:51 -05:00
mvdbeek 8931be57f9 Add api schema linting 2022-12-12 18:07:40 +01:00
mvdbeek fd79b59377 Fix const values in generated ts schema
Proper fix for that is in drwpow/openapi-typescript#1014
2022-12-12 14:00:10 +01:00
mvdbeek 7b864a8c45 Add makefile target to update autogenerated client 2022-12-06 13:16:03 +01:00
Nate Coraor bb41d1f6e3 Merge pull request #14867 from dannon/release-next-update-23.1
Update release-next to 23.0
2022-11-16 12:21:04 -05:00
Nicola Soranzo 1923f4eedd Remove outdated check scripts 2022-11-07 15:44:02 +00:00
Dannon 9f5ac39923 Apply suggestion swapping to 23.0.
This seems the group leaning at this point, and it sounds good to me.

Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2022-11-01 19:58:21 -04:00
Dannon Baker 6efae52eff Update current release in makefile 2022-10-27 08:49:09 -04:00
Nicola Soranzo 0df5c9a5fb Updates for Poetry 1.2.0
Also:
- Export only dev requirements to `lib/galaxy/dependencies/dev-requirements.txt` .
- Packages don't have a `requirements.txt` file.
2022-09-05 17:23:18 +01:00
Nicola Soranzo 3378348d5e Merge branch 'release_22.05' into dev 2022-08-17 01:07:02 +01:00
Nicola Soranzo 961472cfff Merge branch 'release_22.01' into release_22.05 2022-08-16 23:25:42 +01:00
Nicola Soranzo 11c0c7bfdb Fix doc versioning banner
Currently doc builds for `release_22.01` and `master` branches
incorrectly show the "This document is for an in-development version
of Galaxy." warning banner.

Partially backport commit 318a1d7056
and drop the unused `TARGET_BRANCH` variable from `Makefile` which
shadows the shell environment variable of the same name set
in `.github/workflows/docs.yaml` and used in
`doc/source/conf.versioning.py` .
2022-08-16 15:33:26 +01:00
Dannon Baker 2d693ee548 Minor tweaks/typo. 2022-08-05 08:44:41 -04:00
Laila Los 6bdac76c89 add and document make skip-client 2022-08-04 14:16:27 +02:00
Michael R. Crusoe 8e05b6da24 improve typing
make: add remove-unused-imports target to clean up code
2022-07-26 23:28:41 +01:00
Dannon Baker b6f02bcfa6 Update version to 22.09.dev0 2022-06-20 15:14:38 -04:00
Dannon Baker f49c21306e Swap to more standard formatting package script names (left prettier
alias).
2022-04-22 10:15:32 -04:00
Dannon Baker e529106a56 Supporting eslint precommit 2022-03-28 11:38:30 -04:00
mvdbeek fd51314a88 Drop more uWSGI legacy things 2022-03-15 21:32:00 +01:00
Nicola Soranzo 318a1d7056 Fix make diff-format
- The path is required
- The target revision may be a release branch, so use the default
  (i.e. last commit)
- Run `isort` in addition to `black`.
2022-02-17 10:23:42 +00:00
Dannon 34de0307a6 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2022-02-03 08:53:23 -05:00
Dannon ff2f3600f4 Update Makefile
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2022-02-03 07:39:47 -05:00
Dannon Baker c6d250516e Add simple make target for formatting everything (non-diff) 2022-02-03 07:39:47 -05:00
mvdbeek 0af72e56b2 Update version to 22.05.dev0 2022-02-01 11:10:56 +01:00
Michael R. Crusoe 724d983d46 Add "diff-format" Makefile target
Re-format code changed since the last Git commit using "black" via
darker
2021-12-09 15:52:32 +00:00
Nicola Soranzo 7630ed5427 Fix clean-cwl-conformance-tests missing from make menu 2021-12-02 16:11:23 +00:00
John Chilton 9a586a58b9 Add CWL conformance API tests
1) Download conformance tests to `test/functional/tools/cwl_tools` where
  they can be used also by framework and unit tests in the future.
2) Add populators to enable executing CWL conformance tests
3) Generate CWL conformance API tests only when needed for tests
2021-11-23 14:10:21 +00:00
Dannon Baker fe3d2fbafd Merge remote-tracking branch 'upstream/dev' into webpack5 2021-09-22 09:18:14 -04:00
mvdbeek 5332eb246a Update version to 22.01.dev0 2021-09-20 19:53:11 +02:00
Dannon Baker 71366ddc72 Fix webpack dev server for v5 2021-07-26 22:00:39 -04:00
mvdbeek fdb36c7ed7 Run client-y tests with --frozen-lockfile
Seems to be best-practice and may be a little faster
2021-06-30 13:06:24 +02:00
mvdbeek 07fb59937e Update version to 21.09.dev0 2021-05-05 21:48:01 +02:00
Nate Coraor cc1f471490 Release process overhaul
- Convert release Makefile targets to a script
- Update package versions from Galaxy version instead of leaving them
  uncoupled
- Use next-dev-version process on release branches when in between point
  releases
- Automatically detect and increment versions
- Test merging release branches forward before pushing releases
- Support multiple rc versions (will be more useful for package testing)
- Support building local versions of packages
- Tests for the release script
2021-03-30 12:11:48 -04:00
Björn Grüning 6f7e8c4296 Merge pull request #11177 from jmchilton/jupyter_selenium_0
Documentation and helpers for using galaxy-selenium package within Jupyter
2021-01-22 11:41:36 +01:00
Nicola Soranzo 70def633f1 Replace pipenv with poetry. Update all dependencies 2021-01-21 20:30:00 +00:00