Comments (5)
@miniscruff This will definitely solve the issue! 👍 My main reason for using a tool like Changie is that I only want to provide the ingredients for my changelog but this changelog itself can be generated automatically. As you already said, if all PRs are reviewed correctly, the generation itself can be done without any interaction as all work is already done.
from changie.
@miniscruff Thanks for creating this language-independent tool for basic changelog management! It will declare some (unreliable) bash scripts obsolete. 😉
from changie.
Hi, @bephinix thanks for the feedback. The workflow I imagined was using changie batch 1.2.3
then simply editing the new file it created yourself before running changie merge
. I could consider adding an optional parameter but I felt like editing it after batching would be a fair workflow. Open to further discussions though.
from changie.
@miniscruff Editing the created file is indeed a fair workflow if you interact with changie
manually.
For a CI/CD workflow which handles the whole release process, a command line flag might be easier to use than injecting the text block afterwards (e.g. with sed
).
from changie.
Although Changie works in some regards perfectly well without any human interactions I would say it is still a human-driven CLI and is not meant to be automated entirely like that.
However, I think it is reasonable to use such a feature as a means of splitting ownership. That is Changie is used by developers to release the product, but each change and of course the release date can and in some cases should be under management or leadership. Therefore, a possible workflow could be:
- N developers work on N features each with a change file approved by a lead
- As a release is approaching the lead writes a header file to be included with the next release
- This is done through the normal PR process and is reviewed by other leads and developers
- Come release time, the resulting command could be
changie batch v1.0.1 --header header.txt
or through a config option of something likeversionHeaderPath: header.txt
of course this could be markdown, restructured, or whatever your team wants. - This would be optional and thus continue if the file was missing or empty, a possible flag could be "requireVersionHeader: true/false" which would exit 1 if the file was missing.
Note that since I generally create pull requests for the batch and merge commands, it would still be possible for a lead to interject and include a header. However, the requirement that a lead MUST review the PR instead of it automatically being merged sounds like a bad idea. That is, I like to say "leadership MAY review and approve changie pull requests" rather than "leadership MUST review and approve" since I think it's logical that if you reviewed and approved each PR leading up to the release you shouldn't also have to review the mostly automated Changie updates.
I used header here to match the header file that already exists when merging but it might make more sense to use a different term, but I feel they are basically the same thing for two different places.
from changie.
Related Issues (20)
- Automatic GitHub Pull Request numbers HOT 5
- Merge unreleased applies all changes to all projects HOT 2
- Support multiple projects in a single change HOT 5
- Replacements API documentation missing HOT 2
- make lint error HOT 3
- Allow `changie batch` to operate across all projects within a monorepo using a single command. HOT 5
- Enhancing changie batch for Dynamic Version Retrieval in Monorepo Environments HOT 1
- Key registration issue in project selection Interface with changie in yarn environment HOT 5
- Create .changes/unreleased folder if it doesn't exist HOT 7
- Please support "VersionNoPrefix" in "versionFormat" HOT 1
- Monorepo per project replacements
- Yaml format changelogs HOT 5
- Changie new to not overwrite existing file HOT 13
- Drop preview warnings for projects
- Feature Request: Enhanced Changelog Format Options HOT 14
- Avoid duplicate entries HOT 2
- Large numbers of projects makes changie unusable HOT 2
- kinds doesn't support a key value, so can cause invalid characters in file names HOT 11
- simplify the docker run command and base container HOT 2
- Recursively look for `.changie.yml` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from changie.