-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
treewide: Fix or comment where fetchFromGitHub fetches a commit which is not on a branch on the specified repo #110857
treewide: Fix or comment where fetchFromGitHub fetches a commit which is not on a branch on the specified repo #110857
Conversation
… commit and recreate patch
…st master which changes only CI after several force pushes
…target repository
…any branch on target repository
The commit choosen is the parent of the commit that was here before. The change in the commit does not matter for NixOS.
…th fetchFromGitHub
ed06306
to
318d649
Compare
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 2 packages marked as broken and skipped:
2 packages failed to build and are new build failures:
25 packages built:
|
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec { | |||
src = fetchFromGitHub { | |||
owner = "openAVproductions"; | |||
repo = "openAV-ArtyFX"; | |||
rev = "492587461b50d140455aa3c98d915eb8673bebf0"; | |||
rev = "8c542627d936a01b1d97825e7f26a8e95633f7aa"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to have a proper release now: https://github.com/openAVproductions/openAV-ArtyFX/releases/tag/release-1.3.1
That is not much more advanced than commit 8c542627d936a01b1d97825e7f26a8e95633f7aa (just 4 commits behind). Could we switch to it instead 🤔 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really want to update anything with this PR. Could you open a new PR with that update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok, I thought that some of the fixes here were bumps (like django-crispy-forms
), but you just moved to the release that pointed to the same commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's The only bump. For all other packages I tried to find the closest commit.
@@ -5,8 +5,9 @@ fetchFromGitHub { | |||
|
|||
owner = "tomokuni"; | |||
repo = "Myrica"; | |||
rev = "b737107723bfddd917210f979ccc32ab3eb6dc20"; | |||
sha256 = "187rklcibbkai6m08173ca99qn8v7xpdfdv0izpymmavj85axm12"; | |||
# commit does not exist on any branch on the target repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this commit found is master
🤔 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost all commits are no different and no longer contain the TCC files.
@@ -7,6 +7,7 @@ buildLinux (args // { | |||
src = fetchFromGitHub { | |||
owner = "koverstreet"; | |||
repo = "bcachefs"; | |||
# commit does not exist on any branch on the target repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not want to change anything here because I was to lazy to regenerate the deps.nix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I mean, I found this exactly commit in master
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just look at the link I posted. It is exactly this commit and this is the show of the master
branch (just after the commit you asked).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe your script is bugged 🤔 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NVM GitHub seems to be even more dumb than I thought (if I change master
to any other valid branch it shows the same history).
318d649
to
f955932
Compare
@ofborg build linuxPackages-libre.acpi_call |
@@ -7,8 +7,8 @@ stdenv.mkDerivation rec { | |||
src = fetchFromGitHub { | |||
owner = "nix-community"; | |||
repo = "acpi_call"; | |||
rev = "3d7c9fe5ed3fc5ed5bafd39d54b1fdc7a09ce710"; | |||
sha256 = "09kp8zl392h99wjwzqrdw2xcfnsc944hzmfwi8n1y7m2slpdybv3"; | |||
rev = "fe4cd0124099b88b61f83006023bc0d95e742e75"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Release 1.2.1 is not that much newer than this tag and includes fe4cd01. Maybe use it 🤔 ?
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package failed to build and are new build failure:
26 packages built:
|
Motivation for this change
#20836 (comment)
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)