does github webhook report tags? do they trigger the buildbot? #122

Closed
opened 2007-08-23 22:22:50 +00:00 by warner · 4 comments

The darcs_buildbot.py post-commit hook doesn't send a Change object to the buildmaster when a tag is pushed into the repository. As a result, the buildbot doesn't automatically build .debs of released versions, only of intermediate versions. This is a pity, because it would be nice for us to have packages of official releases.

I'm not sure what is necessary to fix this: I seem to recall that tags in darcs are handled very differently than regular patches, so the 'apply' action might not be enough to catch both. On the other hand, it might just be that the darcs_buildbot.py script (which is run by the apply action) is deficient, perhaps exiting if it sees no files changed when it should send a Change anyway.

The darcs_buildbot.py post-commit hook doesn't send a Change object to the buildmaster when a tag is pushed into the repository. As a result, the buildbot doesn't automatically build .debs of released versions, only of intermediate versions. This is a pity, because it would be nice for us to have packages of official releases. I'm not sure what is necessary to fix this: I seem to recall that tags in darcs are handled very differently than regular patches, so the 'apply' action might not be enough to catch both. On the other hand, it might just be that the darcs_buildbot.py script (which is run by the apply action) is deficient, perhaps exiting if it sees no files changed when it should send a Change anyway.
warner added the
dev-infrastructure
minor
defect
0.5.0
labels 2007-08-23 22:22:50 +00:00
warner added this to the eventually milestone 2007-08-23 22:22:50 +00:00
warner self-assigned this 2007-08-23 22:22:50 +00:00
davidsarah commented 2010-04-13 00:09:05 +00:00
Owner

The workaround for this is to push a minor change and a tag at the same time. This isn't really very satisfactory, since it makes the release process more error-prone.

The workaround for this is to push a minor change and a tag at the same time. This isn't really very satisfactory, since it makes the release process more error-prone.
Author

Now that we're on git, we should test to see if pushing just a git tag to github triggers the same sort of change message (I suspect it will). I don't know, however, if the buildbot will react to a tag message by triggering a build (I suspect it won't). This would be nice to have, so we don't have to push changes and tags at the same time.

Now that we're on git, we should test to see if pushing just a git tag to github triggers the same sort of change message (I suspect it will). I don't know, however, if the buildbot will react to a tag message by triggering a build (I suspect it won't). This would be nice to have, so we don't have to push changes and tags at the same time.
warner changed title from darcs+buildbot postcommit hook doesn't report tags to does github webhook report tags? do they trigger the buildbot? 2013-03-20 19:35:40 +00:00
davidsarah commented 2013-03-20 21:54:23 +00:00
Owner

Replying to warner:

[...] I don't know, however, if the buildbot will react to a tag message by triggering a build (I suspect it won't). This would be nice to have, so we don't have to push changes and tags at the same time.

If this does work, remember to change source:git/docs/how_to_make_a_tahoe-lafs_release.org to take account of that.

Replying to [warner](/tahoe-lafs/trac-2024-07-25/issues/122#issuecomment-61595): > [...] I don't know, however, if the buildbot will react to a tag message by triggering a build (I suspect it won't). This would be nice to have, so we don't have to push changes and tags at the same time. If this does work, remember to change source:git/docs/how_to_make_a_tahoe-lafs_release.org to take account of that.
daira commented 2013-06-15 12:49:39 +00:00
Owner

We are no longer using darcs. Also, we've delegated responsibility for building .debs to the Debian and Ubuntu package maintainers.

We are no longer using darcs. Also, we've delegated responsibility for building .debs to the Debian and Ubuntu package maintainers.
tahoe-lafs added the
invalid
label 2013-06-15 12:49:39 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#122
No description provided.