BuildingSync / schema

BuildingSync® Schema
https://buildingsync.net
Other
23 stars 22 forks source link

RFC: Repository -- Proposal for tracking schema changes #397

Closed macintoshpie closed 2 years ago

macintoshpie commented 2 years ago

This is a request for comments on how the developers of BuildingSync should manage future releases and report changes to users.

context

With the release of version 3.0, we now have two primary development branches of the schema. As we prepared to release 2.4 and 3.0 we came to realize how challenging it was becoming to keep track of items for the changelog. This is a proposal for keeping track of the changes to the schema (ie changelog)

proposal

examples

alternatives

macintoshpie commented 2 years ago

@nllong @JieXiong9119 @Ryoken thoughts on this process? We'd have to update our release script to be more "branch focused" if the proposed solution is the direction we'd like to go

JieXiong9119 commented 2 years ago

Great! We could add some details for labeling like the following:

We have two sets of labels for change types (other than breaking change vs. nonbreaking change vs. ignore). One set tells where the change takes place in the schema, which includes

The other set of labels indicates the functions of the change, which includes

I don't know the original idea but I think it's best for a PR to select at least one label from each set to have a clear and full preview. There are other labels related to specific use case or project (e.g. STD 211 Mapping, CTS-support). Some labels are vague to me such as duplicate, and I suggest we delete it if useless.

nllong commented 2 years ago

This process sounds good. I like that PRs are the items that are tracked in the change logs. And I do think that there will be a mix of manual edits to the changelog and automated generation.

Jie's comment is spot on in that we need to make sure that we label the PRs accordingly. duplicate was there to allow for an issue to be redundant and noted as such. Not sure duplicate makes sense when dealing with PRs.

macintoshpie commented 2 years ago

Sounds good, I will formalize this in the repo docs. I'll add Jie's notes on the category labels