-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
vdirsyncerStable: init at 0.16.7 #59010
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer adding a stable.nix
in the vdirsyncer directory.
|
||
checkPhase = '' | ||
rm -rf vdirsyncer | ||
export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is probably not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you just remove the entire checkPhase
? Please keep the third line.
Thank you for the review. I’ll make changes as soon as I’m able. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash your new commits into the existing one.
{ lib, python3Packages, fetchpatch }: | ||
|
||
# Packaging documentation at: | ||
# https://github.com/pimutils/vdirsyncer/blob/dcf5f701b7b5c21a8f4e8c80243db3e0baff1313/docs/packaging.rst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# https://github.com/pimutils/vdirsyncer/blob/dcf5f701b7b5c21a8f4e8c80243db3e0baff1313/docs/packaging.rst | |
# https://github.com/pimutils/vdirsyncer/blob/0.16.7/docs/packaging.rst |
description = "Synchronize calendars and contacts"; | ||
platforms = platforms.all; | ||
license = licenses.mit; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#submitting-changes, a maintainer is required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, should I just add myself to the maintainer list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please do so in a separate commit preceding the existing one.
meta = with lib; { | ||
homepage = https://github.com/pimutils/vdirsyncer; | ||
description = "Synchronize calendars and contacts"; | ||
platforms = platforms.all; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platforms = platforms.all; |
That's set automatically by buildPythonApplication
.
requests_oauthlib # required for google oauth sync | ||
atomicwrites | ||
milksnake | ||
shippai |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find the last two in https://github.com/pimutils/vdirsyncer/blob/0.16.7/setup.py.
# for setuptools_scm: | ||
echo 'Version: ${version}' >PKG-INFO | ||
|
||
sed -i 's/spec.add_external_build(cmd=cmd/spec.add_external_build(cmd="true"/g' setup.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of these lines (except for the first three) should be removed.
@gebner @matthiasbeyer Many of my comments also apply to the |
@dotlambda Thanks for looking over it, I've made the changes to the default vdirsyncer expression. |
fd6ba2a
to
1df406c
Compare
homepage = https://github.com/pimutils/vdirsyncer; | ||
description = "Synchronize calendars and contacts"; | ||
license = licenses.mit; | ||
maintainers = [ loewenheim ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainers = [ loewenheim ]; | |
maintainers = with maintainers; [ loewenheim ]; |
The maintainers are in lib.maintainers
. This error here causes evaluation to fail, as you can see from the failing @GrahamcOfBorg check below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Is it possible to run the check on my machine so I can see if it works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
env VERBOSE=1 ./maintainers/scripts/eval-release.sh
vdirsyncerStable: fixed maintainers
1df406c
to
12fb415
Compare
Thank you again @dotlambda @gebner for your guidance. |
Awesome! Now ... may I ask what "stable" means in the context of vdirsyncer? Because I really don't see how a "0.x.y" package can be "stable". Or, phrased in another way: How do you want to update the new "stable" package? Only from |
As you can see here, the 0.17.0 releases are still considered alpha. Hence I suggest keeping the vdirsyncerStable expression until these are considered stable, then making it an alias for vdirsyncer. |
Motivation for this change
Adds a package for the latest stable release of
vdirsyncer
.fixes #58563
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)