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

lockbook: init at 0.9.15 #358794

Merged
merged 2 commits into from
Nov 30, 2024
Merged

lockbook: init at 0.9.15 #358794

merged 2 commits into from
Nov 30, 2024

Conversation

Parth
Copy link
Member

@Parth Parth commented Nov 24, 2024

👋 Lockbook is an open source secure note taking app. This packages our CLI. Soon we'll have another pr for our desktop app.

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.

@NixOSInfra NixOSInfra added the 12. first-time contribution This PR is the author's first one; please be gentle! label Nov 24, 2024
@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Nov 24, 2024
@Parth Parth force-pushed the master branch 3 times, most recently from 40f8281 to 2cf3f39 Compare November 24, 2024 19:41
Copy link
Contributor

@pluiedev pluiedev left a comment

Choose a reason for hiding this comment

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

Welcome to Nixpkgs ❤️ Some changes that have to be done:

maintainers/maintainer-list.nix Show resolved Hide resolved
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Nov 25, 2024
Copy link
Member

@donovanglover donovanglover left a comment

Choose a reason for hiding this comment

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

Thank you for contributing to nixpkgs!

pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
@Parth Parth force-pushed the master branch 2 times, most recently from 4e5a552 to 5a073b5 Compare November 26, 2024 18:40
pkgs/by-name/lo/lockbook/package.nix Outdated Show resolved Hide resolved
@Parth
Copy link
Member Author

Parth commented Nov 26, 2024

Thank you for the thoughtful feedback @donovanglover & @pluiedev! Could you guys have another look? I believe I addressed all your feedback (and learned a lot along the way).

@wegank wegank removed the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Nov 26, 2024
];

nativeBuildInputs = [ installShellFiles ];
postInstall = ''
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
postInstall = ''
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you, I fixed & force pushed

useFetchCargoVendor = true;
cargoHash = "sha256-+M+wL26KDbLKhcujPyWAsTlXwLrQVCUbTnnu/7sXul4=";

doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

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

Reason

Suggested change
doCheck = false;
doCheck = false; # No checks defined
Suggested change
doCheck = false;
doCheck = false; # Require network access
Suggested change
doCheck = false;
doCheck = false; # Require instance of <specific service>

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you, I fixed & force pushed

meta = {
description = "Private, polished note-taking platform";
longDescription = ''
Write notes, sketch ideas, and store files in one secure place. Share seamlessly, keep data synced, and access it on any platform—even offline. Lockbook encrypts files so even we can’t see them, but don’t take our word for it: Lockbook is 100% open-source.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Write notes, sketch ideas, and store files in one secure place. Share seamlessly, keep data synced, and access it on any platformeven offline. Lockbook encrypts files so even we cant see them, but dont take our word for it: Lockbook is 100% open-source.
Write notes, sketch ideas, and store files in one secure place.
Share seamlessly, keep data synced, and access it on any
platformeven offline. Lockbook encrypts files so even we
cant see them, but dont take our word for it: Lockbook is
100% open-source.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you, I fixed & force pushed

@Parth
Copy link
Member Author

Parth commented Nov 29, 2024

Thanks @Aleksanaa, @donovanglover I believe I addressed all your comments, could you take another pass when you have some time?

Having some trouble understanding the permission hierarchy is there someone else I should be tagging for the final merge?

@Aleksanaa
Copy link
Member

@ofborg build lockbook

@Aleksanaa Aleksanaa merged commit 8d07d2c into NixOS:master Nov 30, 2024
37 of 39 checks passed
@Parth Parth mentioned this pull request Dec 14, 2024
13 tasks
@Parth Parth added backport staging-24.05 backport staging-24.11 Backport PR automatically backport release-24.11 Backport PR automatically labels Dec 14, 2024
@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Dec 14, 2024

Successfully created backport PR for staging-24.05:

@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Dec 14, 2024

Successfully created backport PR for release-24.05:

@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Dec 14, 2024

Successfully created backport PR for staging-24.11:

@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci

This comment was marked as resolved.

1 similar comment
@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Dec 14, 2024

Successfully created backport PR for release-24.11:

@nixpkgs-ci

This comment was marked as resolved.

@nixpkgs-ci

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 10.rebuild-darwin: 1 10.rebuild-linux: 1-10 10.rebuild-linux: 1 11.by: package-maintainer This PR was created by the maintainer of the package it changes 12. first-time contribution This PR is the author's first one; please be gentle! backport release-24.11 Backport PR automatically backport staging-24.11 Backport PR automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants