Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front: switch oazapfts fork to osrd-project repository #9784

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

emersion
Copy link
Member

@emersion emersion commented Nov 19, 2024

Fixes two issues:

  • The commit of anisometropie/oazapfts that we were using was not in any branch. The master branch has been forced pushed to. This makes it tricky to browse the code actually used in OSRD, and the commit may be GC'ed since it's unreachable. The master branch's latest commit doesn't work with OSRD.
  • The "prepare" script was running after installation, even though the fork has the built artifacts checked in. This is unnecessary and causes issues with NPM ("husky" wants a .git directory, it's there with yarn but NPM strips it). Fix for this in osrd-project/oazapfts@3cdfac7.

Additionally, a fork in a personal repository makes it difficult for others to push fixes.

(Alternatively, we could decide to just switch to upstream oazapfts, since we don't use the buggy type.)

Fixes two issues:

- The commit of anisometropie/oazapfts that we were using was not
  in any branch. The master branch has been forced pushed to. This
  makes it tricky to browse the code actually used in OSRD, and the
  commit may be GC'ed since it's unreachable.
- The "prepare" script was running after installation, even though
  the fork has the built artifacts checked in. This is unnecessary
  and causes issues with NPM ("husky" wants a .git directory, it's
  there with yarn but NPM strips it).

Additionally, a fork in a personal repository makes it difficult
for others to push fixes.

Signed-off-by: Simon Ser <[email protected]>
@emersion emersion requested a review from a team as a code owner November 19, 2024 14:27
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Nov 19, 2024
Copy link
Contributor

@anisometropie anisometropie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, generate-types tested ✔️

Copy link
Contributor

@kmer2016 kmer2016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work !

@emersion emersion added this pull request to the merge queue Nov 20, 2024
Merged via the queue into dev with commit 292a1a9 Nov 20, 2024
27 checks passed
@emersion emersion deleted the emr/oazapfts-fork branch November 20, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants