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

polar-bookshelf: add version 1.100.14 #115674

Closed
wants to merge 1 commit into from
Closed

polar-bookshelf: add version 1.100.14 #115674

wants to merge 1 commit into from

Conversation

dansbandit
Copy link
Contributor

@dansbandit dansbandit commented Mar 10, 2021

The polar-bookshelf package is outdated. Unstable has 2.0.42 but version 2 is a cloud only application and incompatible with version 1.100.14 which is the final version 1 according to the developer. https://www.reddit.com/r/PolarBookshelf/comments/j9yfbx/polar_110014_last_1x_version_with_autoupdates/

Adapted the paths from https://github.com/NixOS/nixpkgs/blob/nixos-20.09/pkgs/applications/misc/polar-bookshelf/default.nix

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

The polar-bookshelf package is outdated. Unstable has 2.0.42 but version 2 is a cloud only application and incompatible with version 1.100.14 is the final version 1 according to the developer https://www.reddit.com/r/PolarBookshelf/comments/j9yfbx/polar_110014_last_1x_version_with_autoupdates/
@dansbandit dansbandit changed the title Add version 1.100.14 polar-bookshelf: add version 1.100.14 Mar 10, 2021
@dansbandit dansbandit marked this pull request as ready for review March 10, 2021 02:11
Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

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

You forgot to add load the file from top level. Also your commit message does not fit the contributing guide.

Comment on lines +83 to +91
meta = {
homepage = "https://getpolarized.io/";
description = "Personal knowledge repository for PDF and web content supporting incremental reading and document annotation";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.noneucat ];
};

}
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
meta = {
homepage = "https://getpolarized.io/";
description = "Personal knowledge repository for PDF and web content supporting incremental reading and document annotation";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.noneucat ];
};
}
meta = with lib; {
homepage = "https://getpolarized.io/";
description = "Personal knowledge repository for PDF and web content supporting incremental reading and document annotation";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.noneucat ];
};
}

gpl3Only or gpl3Plus?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

gpl3Only according to upstream package.json.

@SuperSandro2000
Copy link
Member

Also please do not create PRs from your master. This creates various issues in certain scenarios.

@dansbandit
Copy link
Contributor Author

Thank you for your suggestions! I will incorporate these suggestions in a separate branch and create another pull request. Is that OK?

@dansbandit
Copy link
Contributor Author

I incorporated the suggested changes and created a new pull request

PR: #116822

@dansbandit dansbandit closed this Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants