Skip to content

Comments

nextcloud-client-bin: init at 3.13.0#308426

Closed
ArkieSoft wants to merge 3 commits intoNixOS:masterfrom
ArkieSoft:nextcloud-darwin
Closed

nextcloud-client-bin: init at 3.13.0#308426
ArkieSoft wants to merge 3 commits intoNixOS:masterfrom
ArkieSoft:nextcloud-darwin

Conversation

@ArkieSoft
Copy link

Description of changes

Adds separate package since it is not built from source like nextcloud-client. Allows room in the future to add linux capability.

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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 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.

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label May 2, 2024
@ArkieSoft ArkieSoft closed this May 2, 2024
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels May 2, 2024
@ArkieSoft ArkieSoft reopened this May 2, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. and removed 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels May 2, 2024
@FlameFlag
Copy link
Member

FlameFlag commented May 2, 2024

Please move your package to pkgs/by-name/ne/nextcloud-client-bin.

Also, please follow Commit Conventions. In your case, rebase, squash your commits, and reword the final commit to be nextcloud-client-bin: init at 3.13.0

EDIT: Create a package.nix and move over all 3 files into it. If possible, please also use your GitHub email and username for the commits.

@ArkieSoft ArkieSoft force-pushed the nextcloud-darwin branch 2 times, most recently from fa37684 to 3b602c2 Compare May 2, 2024 19:41
@FlameFlag
Copy link
Member

No need to leave comments about changes in the init commit. Also, please move all the 3 files into a single package.nix file

@ArkieSoft ArkieSoft force-pushed the nextcloud-darwin branch from 3b602c2 to 376a83b Compare May 2, 2024 19:53
@FlameFlag
Copy link
Member

It would also be nice if you could use your GitHub name and email for this PR. If you're worried about the privacy of your email, you can use the users.noreply.github.com email provided by GitHub. You can see it here https://github.com/settings/emails

@ArkieSoft ArkieSoft force-pushed the nextcloud-darwin branch 2 times, most recently from 01ae805 to 6147b2f Compare May 2, 2024 20:42
Comment on lines 48 to 49
Copy link
Member

@FlameFlag FlameFlag May 2, 2024

Choose a reason for hiding this comment

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

Suggested change
}
)
})

Just a small nit

@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. labels May 2, 2024
@FlameFlag
Copy link
Member

FlameFlag commented May 2, 2024

I would recommend you to do a "soft reset" by using git reset --soft HEAD~1 to remove your old name and email from the commit. It will delete the commit from the history and move it's changes back into the staging area. However, make sure to commit your changes first before doing this.

@ArkieSoft ArkieSoft closed this May 3, 2024
@ArkieSoft ArkieSoft force-pushed the nextcloud-darwin branch from 6147b2f to 865ba8f Compare May 3, 2024 00:45
@ArkieSoft ArkieSoft force-pushed the nextcloud-darwin branch from d7debf5 to e417858 Compare May 4, 2024 23:08
@FlameFlag
Copy link
Member

I would recommend you run nixpkgs-fmt on your package.nix next time to automatically comply with formatting code conventions

@ArkieSoft ArkieSoft force-pushed the nextcloud-darwin branch from e417858 to ecb8c27 Compare May 4, 2024 23:27
@ArkieSoft
Copy link
Author

Installed nixpkgs-fmt and reformatted package.nix. Hopefully that works as intended

@FlameFlag
Copy link
Member

Result of nixpkgs-review pr 308426 run on aarch64-darwin 1

1 package built:
  • nextcloud-client-bin

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label May 5, 2024
eclairevoyant

This comment was marked as resolved.

@ArkieSoft ArkieSoft force-pushed the nextcloud-darwin branch from ecb8c27 to 5ffd7e0 Compare May 7, 2024 02:22
@ArkieSoft
Copy link
Author

I didn't want to be so forward on that. I am more than willing to be a maintainer for this. I pushed a commit adding me as a maintainer.

@wegank wegank removed the 12.approvals: 1 This PR was reviewed and approved by one person. label May 7, 2024
@FlameFlag
Copy link
Member

You will need to add yourself to the maintainer list in that case. Please take a look at https://github.com/NixOS/nixpkgs/tree/master/maintainers

@ArkieSoft ArkieSoft force-pushed the nextcloud-darwin branch from 5ffd7e0 to 78d7178 Compare May 8, 2024 01:13
@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label May 8, 2024
@FlameFlag
Copy link
Member

Adding yourself to the maintainer list should be a separate commit and should be worded as such maintainers: add ArkieSoft

@ofborg ofborg bot added the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label May 8, 2024
@github-actions github-actions bot removed the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label May 8, 2024
@ArkieSoft
Copy link
Author

Awaiting being added to maintainers

@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label May 8, 2024
@FlameFlag
Copy link
Member

Please rebase, delete 3537384 and move 4239339 to be before 78d7178

@SuperSandro2000
Copy link
Member

Did you try building the source package on darwin? What made you decide that it is not feasible?

@SuperSandro2000
Copy link
Member

Closing because of no answer from author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants