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

glpi-agent: init at 1.11 #361746

Merged
merged 1 commit into from
Dec 20, 2024
Merged

glpi-agent: init at 1.11 #361746

merged 1 commit into from
Dec 20, 2024

Conversation

liberodark
Copy link
Contributor

@liberodark liberodark commented Dec 4, 2024

Fix : #361741

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@liberodark liberodark force-pushed the glpi-agent branch 3 times, most recently from 2e22483 to 6853375 Compare December 4, 2024 13:18
@liberodark liberodark mentioned this pull request Dec 4, 2024
13 tasks
@liberodark
Copy link
Contributor Author

Also this need a backport to 24.11 if is possible is tested and used on 24.11

@liberodark liberodark force-pushed the glpi-agent branch 3 times, most recently from 66fc977 to 71d6837 Compare December 4, 2024 15:39
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Dec 4, 2024
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels Dec 5, 2024
Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

Minor comments. I am not too familiar with the perl ecosystem.

pkgs/by-name/gl/glpi-agent/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gl/glpi-agent/package.nix Outdated Show resolved Hide resolved
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin and removed 10.rebuild-darwin: 1 10.rebuild-darwin: 1-10 10.rebuild-linux: 1 labels Dec 8, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels Dec 9, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels Dec 20, 2024
pkgs/by-name/gl/glpi-agent/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gl/glpi-agent/package.nix Outdated Show resolved Hide resolved
@liberodark liberodark force-pushed the glpi-agent branch 3 times, most recently from 50cef94 to 63f0317 Compare December 20, 2024 08:30
pkgs/by-name/gl/glpi-agent/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gl/glpi-agent/package.nix Outdated Show resolved Hide resolved
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin and removed 10.rebuild-darwin: 1 10.rebuild-darwin: 1-10 10.rebuild-linux: 1 labels Dec 20, 2024
@liberodark liberodark force-pushed the glpi-agent branch 3 times, most recently from 1f5d11b to ada0599 Compare December 20, 2024 08:58
Comment on lines 116 to 122
nativeInstallCheckInputs = [
versionCheckHook
];

versionCheckProgramArg = [ "--version" ];

doInstallCheck = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/GLPI-Agent";
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think is not necessary.

Copy link
Contributor Author

@liberodark liberodark Dec 20, 2024

Choose a reason for hiding this comment

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

Have fix issue you can build on your side.

pkgs/by-name/gl/glpi-agent/package.nix Show resolved Hide resolved
pkgs/by-name/gl/glpi-agent/package.nix Outdated Show resolved Hide resolved
@liberodark liberodark force-pushed the glpi-agent branch 2 times, most recently from 73191e1 to 4fb750f Compare December 20, 2024 09:12
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 361746


x86_64-linux

✅ 1 package built:
  • glpi-agent

aarch64-linux

✅ 1 package built:
  • glpi-agent

@GaetanLepage GaetanLepage merged commit 63ebd12 into NixOS:master Dec 20, 2024
23 of 24 checks passed
@GaetanLepage GaetanLepage added the backport release-24.11 Backport PR automatically label Dec 20, 2024
@nix-backports
Copy link

nix-backports bot commented Dec 20, 2024

Successfully created backport PR for release-24.11:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 backport release-24.11 Backport PR automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: glpi-agent
3 participants