-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
buildbot: 0.9.7 -> 0.9.9.post2 #27094
Conversation
nand0p
commented
Jul 3, 2017
•
edited
Loading
edited
- adds grid-view plugin
- module fixup
- tested on nixos
32ef20f
to
8e22f46
Compare
|
||
doCheck = !stdenv.isDarwin; | ||
|
||
# Remove test asizeof.flatsize(), broken and can be missed as |
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.
Not a sentence and please contact upstream for this.
@@ -83,7 +83,7 @@ let | |||
|
|||
meta = with stdenv.lib; { | |||
homepage = http://buildbot.net/; | |||
description = "Continuous integration system that automates the build/test cycle"; | |||
description = "Buildbot is an open-source continuous integration framework for automating software build, test, and release processes."; |
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 like this.
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.
no dot at the end
meta = with stdenv.lib; { | ||
homepage = http://buildbot.net/; | ||
description = "Buildbot Packaging Helper"; | ||
description = "Buildbot UI"; |
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.
Do you mean a web interface?
}; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = http://buildbot.net/; | ||
description = "Buildbot UI"; | ||
description = "Buildbot Console View Plugin"; |
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.
Provides a command line interface for Buildbot
meta = with stdenv.lib; { | ||
homepage = http://buildbot.net/; | ||
description = "Buildbot Console View Plugin"; | ||
description = "Buildbot Waterfall View Plugin"; |
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.
Can we get a long description too, since https://pypi.python.org/pypi/buildbot-waterfall-view also doesn't bother to give one?
# NOTE: call twistd directly with stdout logging for systemd | ||
#ExecStart = "${cfg.package}/bin/buildbot start --nodaemon ${cfg.buildbotDir}"; | ||
ExecStart = "${pkgs.python27Packages.twisted}/bin/twistd -n -l - -y ${cfg.buildbotDir}/buildbot.tac"; | ||
ExecStart = "${cfg.package}/bin/buildbot start --nodaemon ${cfg.buildbotDir}"; |
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.
${cfg.buildbotDir} doesn't work when it contains spaces.
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, i think that is the correct expected behavior on linux/unix systems.
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.
How can you expect something not to work? It clearly can work by properly escaping the argument.
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.
buildbotDir
containing whitespace didn't work before this PR, so it's not really the job of this PR to fix it.
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.
@edolstra OK, perhaps there has been a misunderstanding, but I expect that every replacement line committed does not contain any potential flaw. So, while it might be true that BuildBot currently does not support spaces, at some point that limitation might be gone. In that case a version with properly escaped arguments would just work.
I don't think we should encourage bad practices.
If, on the other hand you mean that it's OK to open PRs for things that just make things slightly better as opposed to fixing things completely, then that's a policy which seems questionable.
The way I see it is that if an author modifies an existing line, they are reintroducing the same mistake, i.e. creating a bug.
I have the impression that you see this differently.
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.
you mean that it's OK to open PRs for things that just make things slightly better as opposed to fixing things completely
yes. we have been maintaining the buildbot package iteratively.
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.
@0xABAB That's right, the PR should not introduce regressions. It does not have to reach a state of perfection.
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.
Thanks for the update. Some minor fixes are needed and then I think its ready to go in.
doCheck = !stdenv.isDarwin; | ||
|
||
# Remove test asizeof.flatsize(), broken and can be missed as | ||
patchPhase = '' |
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.
postPatch
sha256 = "0mhyxqlkha98y8mi5zqcjg23r30mgdjdzs05lghbmqfdyvzjh1a3"; | ||
}; | ||
|
||
doCheck = !stdenv.isDarwin; |
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 not on Darwin? Leave a comment.
|
||
meta = with stdenv.lib; { | ||
homepage = http://pythonhosted.org/Pympler/; | ||
description = "A development tool to measure, monitor and analyze the memory behavior of Python objects."; |
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.
no dot at the end
@@ -83,7 +83,7 @@ let | |||
|
|||
meta = with stdenv.lib; { | |||
homepage = http://buildbot.net/; | |||
description = "Continuous integration system that automates the build/test cycle"; | |||
description = "Buildbot is an open-source continuous integration framework for automating software build, test, and release processes."; |
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.
no dot at the end
@@ -1,85 +1,82 @@ | |||
{ stdenv, pythonPackages }: | |||
|
|||
let | |||
buildbot-pkg = pythonPackages.buildPythonPackage rec { | |||
# NOTE: buildbot plugins available as wheels |
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.
They only distribute wheels? Bleh...
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.
No, they just don't follow their own documentation: buildbot/buildbot#3409.
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.
For the main release there is now a tar.gz. I didn't check for the plugins; that might be different.
|
||
src = pythonPackages.fetchPypi { | ||
inherit pname version; | ||
sha256 = "0p351r10y42gwgxb2qg7xlsbhmnzdmqp6h4922l0yfii3pzmrdzv"; | ||
sha256 = "0000000000000000000000000000000000000000000000000000"; |
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.
That's unlikely to be the correct hash.
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.
waiting on the buildbot maintainers @tardyp to publish the source tarballs, so as to update this hash buildbot/buildbot#3409
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.
If the lack of sdist is preventing this from going in, then let's just use wheels or tarballs from GitHub.
@@ -25,14 +25,14 @@ in { | |||
www = pythonPackages.buildPythonPackage rec { | |||
name = "${pname}-${version}"; | |||
pname = "buildbot_www"; | |||
version = "0.9.7"; | |||
version = "0.9.9.post1"; | |||
|
|||
# NOTE: wheel is used due to buildbot circular dependency |
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.
Is anyone supposed to understand what you mean by that comment?
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.
.post1
is not a comment, it is the actual release version
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.
@nand0p I was talking about the only comment visible, which I suppose is not part of this PR, but still.
# NOTE: wheel is used due to buildbot circular dependency
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 change your tone in pull request reviews. This is not the linux ml. The semantics of format
is documented in buildPythonPackage
.
Guys, I've published 0.9.9.post2 for you yesterday. |
- adds grid-view plugin - module fixup - tested on nixos
@FRidh ready_for_review |