-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
part-db: init at 1.14.5 #365249
Open
felbinger
wants to merge
2
commits into
NixOS:master
Choose a base branch
from
secshellnet:part-db-init
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
part-db: init at 1.14.5 #365249
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67aebb9
to
d905952
Compare
d905952
to
90b6d2b
Compare
761347b
to
f256151
Compare
d7d9b5e
to
c782595
Compare
71ccb6a
to
b372373
Compare
0d8e4a4
to
7dd7260
Compare
Tert0
reviewed
Feb 3, 2025
7dd7260
to
7ea49a8
Compare
|
Tert0
reviewed
Feb 3, 2025
7ea49a8
to
746fbcb
Compare
a68d408
to
3d6aa0e
Compare
1.15.2 is currently broken (results in http 500 error) diff --git a/pkgs/by-name/pa/part-db/fix-composer-validate.diff b/pkgs/by-name/pa/part-db/fix-composer-validate.diff
index 73060f3e0591..3c4cd98e5cf5 100644
--- a/pkgs/by-name/pa/part-db/fix-composer-validate.diff
+++ b/pkgs/by-name/pa/part-db/fix-composer-validate.diff
@@ -2,23 +2,10 @@ diff --git a/composer.json b/composer.json
index 0659f2ee..5a2dee70 100644
--- a/composer.json
+++ b/composer.json
-@@ -1,4 +1,6 @@
+@@ -1,5 +1,6 @@
{
-+ "name": "part-db/part-db-server",
+ "name": "part-db/part-db-server",
+ "description": "Part-DB is an Open source inventory management system for your electronic components",
"type": "project",
"license": "AGPL-3.0-or-later",
"require": {
-diff --git a/composer.lock b/composer.lock
-index 614a35f7..e0c949eb 100644
---- a/composer.lock
-+++ b/composer.lock
-@@ -4,7 +4,7 @@
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
-- "content-hash": "465fa2ab7f9f8dad2b8cfbeaa640c136",
-+ "content-hash": "cec123f8cbf51820ba08c5c69ec2ded4",
- "packages": [
- {
- "name": "amphp/amp",
diff --git a/pkgs/by-name/pa/part-db/package.nix b/pkgs/by-name/pa/part-db/package.nix
index 1d00c12f4228..5ec71626c0c5 100644
--- a/pkgs/by-name/pa/part-db/package.nix
+++ b/pkgs/by-name/pa/part-db/package.nix
@@ -14,7 +14,7 @@
}:
let
pname = "part-db";
- version = "1.14.5";
+ version = "1.15.2";
srcWithVendor = php.buildComposerProject ({
inherit pname version;
@@ -23,7 +23,7 @@ let
owner = "Part-DB";
repo = "Part-DB-server";
tag = "v${version}";
- hash = "sha256-KtNWog4aSnmgJsFckDuBrlnd9cj1f8kmSFi+nv2cZOg=";
+ hash = "sha256-KEzzl3CJQ8LvsmvsdBUSN6IepJ/Bapu6XZXhBvSs4hE=";
};
patches = [
@@ -40,7 +40,7 @@ let
);
};
- vendorHash = "sha256-PJtm/3Vdm2zomUklVMKlDAe/vziJN4e+JNNf/u8N3B4=";
+ vendorHash = "sha256-zOyy7q3qqjJzJV5IVbvNcDmyqeLmTP9wjfbGlCi1lGU=";
composerNoPlugins = false;
@@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
yarnOfflineCache = fetchYarnDeps {
yarnLock = finalAttrs.src + "/yarn.lock";
- hash = "sha256-Mjss2UUHVUdJ4UAI3GkG6HB6g7LbJTqvgrIXFhZmw1Q=";
+ hash = "sha256-j0jvDJROla0MLnZ2LGnaYWX3eE8MRuwDbtIl2PRq2oA=";
};
nativeBuildInputs = [ |
3d6aa0e
to
746fbcb
Compare
Co-authored-by: Sandro <[email protected]> Co-authored-by: Tert0 <[email protected]>
Co-authored-by: Sandro <[email protected]> Co-authored-by: Tert0 <[email protected]>
746fbcb
to
1062ba1
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
8.has: module (new)
This PR adds a module in `nixos/`
8.has: module (update)
This PR changes an existing module in `nixos/`
8.has: package (new)
This PR adds a new package
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
10.rebuild-linux: 1-10
11.by: package-maintainer
This PR was created by the maintainer of the package it changes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #364907
content hash in patch/diff can be updated using:
nix run nixpkgs#php84Packages.composer update --ignore-platform-req=ext-xsl symfony/stopwatch
in the cloned repositoryTo be usable in a adequate way a nixos module is required. I will try to implement this too in this pr; until done this pr is just a draft.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.