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

buildbot: 0.9.7 -> 0.9.9.post2 #27094

Merged
merged 1 commit into from
Jul 7, 2017
Merged

buildbot: 0.9.7 -> 0.9.9.post2 #27094

merged 1 commit into from
Jul 7, 2017

Conversation

nand0p
Copy link
Contributor

@nand0p nand0p commented Jul 3, 2017

  • adds grid-view plugin
  • module fixup
  • tested on nixos

@pSub pSub added the 8.has: package (update) This PR updates a package to a newer version label Jul 3, 2017
@nand0p nand0p force-pushed the buildbot-0.9.9 branch 2 times, most recently from 32ef20f to 8e22f46 Compare July 3, 2017 21:00

doCheck = !stdenv.isDarwin;

# Remove test asizeof.flatsize(), broken and can be missed as
Copy link
Contributor

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.";
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this.

Copy link
Member

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";
Copy link
Contributor

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";
Copy link
Contributor

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";
Copy link
Contributor

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}";
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Member

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Member

@FRidh FRidh left a 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 = ''
Copy link
Member

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;
Copy link
Member

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.";
Copy link
Member

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.";
Copy link
Member

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
Copy link
Member

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...

Copy link
Contributor

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.

Copy link
Contributor

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";
Copy link
Contributor

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.

Copy link
Contributor Author

@nand0p nand0p Jul 5, 2017

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

Copy link
Member

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
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

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

Copy link
Member

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.

@tardyp
Copy link

tardyp commented Jul 7, 2017

Guys, I've published 0.9.9.post2 for you yesterday.
You should have tarballs and wheels properly uploaded, on top of a couple of bugfixes.
https://pypi.python.org/pypi/buildbot/0.9.9.post2

- adds grid-view plugin
- module fixup
- tested on nixos
@nand0p nand0p changed the title buildbot: 0.9.7 -> 0.9.9 buildbot: 0.9.7 -> 0.9.9.post2 Jul 7, 2017
@nand0p
Copy link
Contributor Author

nand0p commented Jul 7, 2017

@FRidh ready_for_review

@FRidh FRidh merged commit ea5b2df into NixOS:master Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (update) This PR updates a package to a newer version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants