Skip to content

Don't re-append the subdir to the store path - #82

Merged
cole-h merged 2 commits into
mainfrom
fix-publish-subdirectory
Sep 21, 2023
Merged

cole-h merged 2 commits into
mainfrom
fix-publish-subdirectory

Conversation

@grahamc

@grahamc grahamc commented Sep 21, 2023

Copy link
Copy Markdown
Member

In #81, we inadvertently appended the subdir to the path which already included the subdir when reading the readme. This causes publishing failures because the directory we expect the readme to exist in likely does not exist:

 INFO flakehub_push:push_new_release: Preparing release of grahamc/nix-starter-flakes/0.0.0 repository=grahamc/nix-starter-flakes mirror=false upload_name=grahamc/nix-starter-flakes
flake_store_path: "/nix/store/abg459275ipf6x32an2padhjjclx26ip-source/go"
readme_path: "/nix/store/abg459275ipf6x32an2padhjjclx26ip-source/go/go"

@grahamc
grahamc requested a review from cole-h September 21, 2023 13:40

@cole-h cole-h left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hm, I could have sworn there was a reason I kept that, but indeed it's broken on my flake-inside-a-directory test case... Oops.

@cole-h
cole-h merged commit 30febd2 into main Sep 21, 2023
@cole-h
cole-h deleted the fix-publish-subdirectory branch September 21, 2023 13:54
detsys-pr-bot pushed a commit to detsys-pr-bot/flakehub-push that referenced this pull request Mar 28, 2025
…m DeterminateSystems/even-more-crashes` (`03533d37dcd46f34d9e99385e665615b221a30d9`)
github-merge-queue Bot pushed a commit that referenced this pull request Mar 28, 2025
…cd46f34d9e99385e665615b221a30d9

Update `detsys-ts`: Merge pull request #82 from DeterminateSystems/even-more-crashes
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.

2 participants