Jump to content

AndrewC

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by AndrewC

  1. Hi Carlos! Still wondering if there's a particular solution to this problem. I haven't had time to dig deeper into it. Even if there isn't an easy/established way to query a changeset's attributes, let me know
  2. Hi Carlos, thanks for your reply! We're not working with the trunkbot currently (but we do plan to integrate it soon). We're trying to implement a policy of weekly super-stable releases that have been rigorously tested, thus we have an additional /release branch that /main merges into. I'm currently making a custom mergebot, where whenever a changeset is marked as ready, the bot will merge the /main branch into the /release branch for other teams at our company to xlink to. The bot will also look at the comments of the changesets in /main and create release notes for other developers to read. The way I initially wanted it to work is for the bot to listen for a changeset in /main to have it's "release_status" attribute set to "ready", and it will merge that into main. It will also look at the comments of every changeset from the "ready" changeset all the way back to the previously released changeset (marked as "released") and generate release notes from there. When it's done, it'll mark the initial changeset as "released" and potentially label it. If the WebSocket only announces the fact that a branch's attribute is changed, I guess I could instead make the mergebot poll the server to check for attribute changes? Or perhaps we're going about this all wrong. Either way, let me know. Thanks, Andrew
  3. Hi there, I'm busy experimenting with custom mergebots and I'm using the trunk mergebot as a base and editing it from there. What I want to do: I want to be able to listen for a changeset's attribute being changed, and not for a BranchAttributeChanged event. What I've tried: I've looked at this documentation, and there are apparently only two different events that can be received through the WebSocket. I've made the mergebot log any messages received from the WebSocket, and it appears to only receive BranchAttributeChanged events. Am I missing something obvious? Is there some setting I'm supposed to enable to make the server announce more events? Running version 8.0.16.3219 Edit: I'm fairly new to this kind of programming. I come from a 3D/Unity/simulation programming background, so forgive me if this is a silly question.
×
×
  • Create New...