Commit Graph
194 Commits
Author SHA1 Message Date
Michael R. Crusoe dbfcdb8bc9 python packages: convert to pure namespace packages
only directories in `lib/galaxy` & `packages/*/galaxy`
All other files removed or moved to their own module
All references to those files updated, especially galaxy/version.py
2026-04-15 15:16:34 +02:00
John ChiltonandClaude Opus 4.6 9d49f7f89b Fix LaTeX rendering errors in collection semantics docs
Fix underscore handling in semantics.py that caused "'_' allowed only
in math mode" errors in rendered HTML. Issues: CollectionDefinition
used bare escaped underscores outside \text{}, expression_to_latex had
double-replacement bugs (unpaired→\text{un\text{paired}}), and
sample_sheet was unhandled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 15:15:28 -04:00
John ChiltonandClaude Opus 4.6 e0c1a00678 Add sample_sheet collection semantics examples for workflow editor tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 15:15:28 -04:00
John ChiltonandClaude Opus 4.6 74fefc89d8 Add structured YAML then expressions with bug fix and polish
Convert 32 free-form then string expressions in collection_semantics.yml
to structured typed YAML with 14 Pydantic models and as_latex() methods.

Bug fix: NestedElements.elements typed as dict[str, "OutputBinding"]
with model_rebuild() to resolve forward ref (was dict[str, Any]).

Polish: discriminated unions via Annotated[..., Field(discriminator="type")]
on all 4 union type aliases, rename elements_to_latex to
_assumption_elements_to_latex.

61 tests (was 40): smoke tests for all as_latex() and generate_docs(),
unit tests for EllipsisMarker, DatasetListInput, NestedElements,
CollectionOutput with ellipsis, compound sub_collection_type,
MapOverThen producing DatasetOutput.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 15:15:27 -04:00
John ChiltonandClaude Opus 4.6 8f6e005021 Add docs section on using base64 URLs to avoid external test dependencies
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:26:19 -05:00
Dannon Baker fe4f7a8891 Clean up stale yarn references after pnpm migration
Remove the yarn install target from packages/web_client/Makefile since
client builds now use corepack/pnpm via the root Makefile, and fix a few
leftover yarn mentions in comments and docs.
2026-02-08 12:27:02 -05:00
John Chilton d08e89f6cb Tweak dataset populator documentation thanks to nsoranzo comment. 2026-01-13 13:24:18 -05:00
John Chilton 35acb0d4f7 Comprehensive test writing documentation
Expand writing_tests.md with:
- Quick reference table and decision tree for test type selection
- Workflow framework tests section
- API test patterns: populators, decorators, fixtures, user switching
- Integration test patterns: config options, mixins, app access
- Selenium test patterns: smart components, accessibility, shared state
- When to use UI vs API methods in browser tests

Add client/README.md testing section:
- Test file structure and standard imports
- LocalVue setup and test data factories
- MSW/OpenAPI-MSW for type-safe API mocking
- Vue component testing patterns
2026-01-13 13:24:18 -05:00
Dannon Baker 9133f711fe Update docs from Jest to Vitest
Changed all testing documentation to reference Vitest instead of Jest,
including test commands, mock examples, and VSCode debug config.
2025-11-24 11:09:20 -05:00
John Chilton f701de8817 Update tool state docs for relaxed requests. 2025-10-29 16:33:27 -04:00
John Chilton a685889a32 Cleanup tool request hacks for legacy using new relaxed request tool state.
A strict vs relaxed state for incoming requests lets us preserve some older behavior if it is needed for tests and such while also allowing us to default to "the correct thing".
2025-10-29 16:33:27 -04:00
John Chilton e929bc648b Expand coverage for tool state docs. 2025-10-29 16:33:27 -04:00
Nicola Soranzo a802727c33 Update docs on debugging tests within GitHub actions
Subsets were replaced with shards in commit 992edaa8b4 .
2025-08-27 16:33:43 +01:00
John ChiltonandNicola Soranzo 0b7478b1a4 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2025-08-13 14:43:31 -04:00
John Chilton d771436dae Datatype checklist. 2025-08-13 10:59:55 -04:00
John Chilton 219796f049 Implement paired_or_unpaired collections, list wizards. 2025-05-09 17:39:38 -04:00
Enis Afgan 8a5198f76a Update descriptions to indicate these are UI-options only 2025-03-07 11:11:00 -05:00
Enis Afgan bd847412a0 Add config options for tool dependency installs 2025-02-06 15:32:52 -05:00
Matthias Bernt be3c547161 document format of extension 2024-10-22 09:28:31 +02:00
John Chilton ad73e9e838 Tool Request models. 2024-09-30 13:25:02 -04:00
Polina Polunina ed48f84aa7 add data source doc to the list in index 2024-08-27 12:28:00 +02:00
John Chilton da220efd23 First pass at workflow step models - linked and unlinked.
Work scoped out in 18536.
2024-08-23 09:46:44 -04:00
John Chilton aca192eeaf SVG generation for tool state docs... 2024-07-15 09:46:13 -04:00
John Chilton 5359f8ba74 Input parameter schema. 2024-07-15 09:46:13 -04:00
John Davis 7721bf377f Update doc/source/dev/create_release.rst 2024-06-28 11:42:01 +02:00
M BerntandMartin Cech df044c4fff Update doc/source/dev/create_release.rst
Co-authored-by: Martin Cech <marten@bx.psu.edu>
2024-06-28 11:33:49 +02:00
M Bernt d006411178 Minor additions to release process 2024-06-28 10:28:19 +02:00
John Davis 396797d18f Fix typos in release documentation 2024-05-20 14:57:49 -04:00
Marius van den BeekandJohn Davis 799d27f0e5 Fix rst list syntax
Co-authored-by: John Davis <jdavcs@gmail.com>
2024-02-13 19:19:23 +01:00
Marius van den BeekandJohn Davis ee9396971d Simplify explanations
Co-authored-by: John Davis <jdavcs@gmail.com>
2024-02-13 17:58:47 +01:00
mvdbeek 13b6ed44d8 Update release process documentation 2024-02-13 16:38:09 +01:00
Björn Grüning 7e394f7aed Merge pull request #17327 from PlushZ/doc-data-source
add documentation for data source tool
2024-01-19 19:34:36 +01:00
PlushZ a2ed0c08e5 add doc for data source 2024-01-18 18:36:14 +01:00
John Davis 9f4254f66b Merge pull request #17322 from mvdbeek/session_docs
Document SQLAlchemy session lifespan
2024-01-18 12:35:27 -05:00
Marius van den Beek 0744959008 Fix typo 2024-01-18 16:31:26 +01:00
Marius van den Beek 0e4f6fed84 Drop extra newline 2024-01-18 16:30:20 +01:00
Marius van den Beek b367c09ae1 Don't explain why handling state at the outermost layer is a good idea 2024-01-18 16:30:02 +01:00
mvdbeek 7f2b8a714f Tweak the WSGI, ASGI, Celery section 2024-01-18 16:28:37 +01:00
John Davis 2e9c2241d0 Apply edits to session docs 2024-01-18 16:23:53 +01:00
mvdbeek ed98d7d21a Document SQLAlchemy session lifespan 2024-01-18 12:21:56 +01:00
Michael R. Crusoe c00967cca4 Python 3.8 as new minimum version
Fixes: https://github.com/galaxyproject/galaxy/issues/16394

Also upgrade code to Python 3.8 syntax with:

```
ack --type=python -f | grep -v '^lib/galaxy/schema/bco/\|^lib/galaxy/schema/drs/\|lib/tool_shed_client/schema/trs.*.py\|^tools/\|^.venv/\|^.tox/' | grep -v '^lib/galaxy/files/sources/\|^lib/galaxy/job_metrics/\|^lib/galaxy/objectstore/\|^lib/galaxy/tool_util/\|^lib/galaxy/util/' | xargs pyupgrade --py38-plus
```
2023-11-26 18:34:09 +00:00
Yakubov, Sergey c30a4c06c2 Replace file_name property with get_file_name function 2023-11-08 17:17:14 -05:00
John Davis 84b9fa3737 Update doc/source/dev/build_a_job_runner.rst 2023-09-25 16:41:24 -04:00
Maiken Pedersen 4423a0cc56 Update build_a_job_runner.rst
The ajs job_id is supposed to be the external job runner id, not the galaxy id. job_wrapper.job_id is the galaxy id.
2023-09-11 15:34:31 +02:00
John Davis 0ab66ae045 Provide better guidance on what to override 2023-09-08 14:02:12 -04:00
John Davis c014ae1e8b Misc. edits to text; formatting of lists, section titles 2023-09-08 13:50:14 -04:00
John Davis 082a5edc02 Clarify instructions: override logic only if needed 2023-09-07 15:12:15 -04:00
mvdbeek 67c7181a6a Merge branch 'release_23.0' into dev 2023-06-13 17:30:22 +02:00
mvdbeek 787b8040c8 Use galaxy-release-util to upload python packages 2023-06-13 15:49:37 +02:00
mvdbeek 01a1755027 Merge branch 'release_23.0' into dev 2023-06-08 18:36:41 +02:00