Skip to content

Remove the .rq files - #36

Merged
marvinm2 merged 1 commit into
masterfrom
remove-rq-files
Nov 11, 2026
Merged

marvinm2 merged 1 commit into
masterfrom
remove-rq-files

Conversation

@marvinm2

Copy link
Copy Markdown
Collaborator

The examples have been .ttl files since #35, and the editor (Snorql-UI 1.4.0, live since today) reads the published index, so the .rq copies on master aren't used anymore. This removes the 62 .rq files and the two one-off migration scripts that needed them. Both remain in the history at fed6a2d.

Old links still work. Every .ttl keeps its old path as snorql:alias, so ?example=D. General/GenesofPathway.rq opens WPQ036, and links pinned to an old commit with &ref= still read the .rq file at that commit. The examples-index branch has generated .rq copies under rq/ for anything that wants the old format.

check and build pass locally on this branch: 85 examples, all 62 old paths still resolve as aliases.

Merge wikipathways/Snorql-UI#41 first, because Snorql-UI's template tests read these files from master until then. BiGCaT's rq2ttl.py also reads .rq files, but it only runs by hand, and a separate PR there will switch it to the index.

The examples are .ttl files since #35 and the editor (Snorql-UI 1.4.0) reads
the published index, so the .rq copies are no longer used. Old links to an
.rq path still work through snorql:alias, and the examples-index branch has
generated .rq copies under rq/.

Also removes the one-off migration scripts, which need the .rq files; they
stay in the history at fed6a2d.
@marvinm2
marvinm2 marked this pull request as ready for review November 11, 2026 17:48
@marvinm2
marvinm2 merged commit 479fb60 into master Nov 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant