Comments (10)
One should be able to use changie out-of-the-box without needing an extensive configuration.
That is basically what the init command is for, creating a base level no fluff Changie experience.
Hmm, an extra prompt could work but since I think the majority of fragments are a single line I think keeping it to that will work better. I think what makes more sense is to allow customizing prompts and formats based on the kind.
I think the reason why I didn't want to customize prompts and formats per kind was that for the most part, the kinds are about the same. So I didn't want a config file that was a bunch of copy-pasted configurations. I do not think I have enough usage to know under what circumstances you would want to alter/add/remove a prompt from your fragment-based on kind or any other use case to really know how the config and workflow should look.
For example: maybe only one kind needs to have a special prompt and format such as a security patch which required some external URL for compliance ( just making something up that sounds sort of reasonable ). Then the config should allow adding one custom workflow and keeping the others all the same.
But if say you wanted to customize each and every kind but reuse a few prompts between them, then that is a different structure.
There is also the possibility of wanting to support a custom level above or instead of a kind for very large or combined projects such as Go itself https://golang.org/doc/go1.16#minor_library_changes or k8s https://kubernetes.io/docs/setup/release/notes/. This would turn Kind into more of an abstract concept of levels where currently it is just the one. Would also require custom sorting most likely but shouldn't be too bad.
So long answer is, yes I want to support multiline and there is a reason why Changie is still on v0 😏
from changie.
Hi again, I thought this might come up at some point. IIRC, my thought was that I wasn't sure if I should default body to be multiline, create a new project-wide option or add an optional CLI argument. Also, it will probably ripple to forcing other things to support multiline and I wasn't quite ready for it. I do also want to allow multiline as an option for custom choices.
There are quite a lot more configuration options that is possible for Changie to add but I don't want to have so many options it is hard to use. For example, I was considering moving kinds from a simple string list to choosing formats and choices per kind. But for simple use cases that will be a lot of configurations.
from changie.
@miniscruff As changie
already uses an interactive CLI for adding new fragments, it might be an solution to have a selection step after selecting the kind so you can select if you want to want to use single or multiline.
There are quite a lot more configuration options that is possible for Changie to add but I don't want to have so many options it is hard to use. For example, I was considering moving kinds from a simple string list to choosing formats and choices per kind. But for simple use cases that will be a lot of configurations.
You are absolutely right. One should be able to use changie
out-of-the-box without needing an extensive configuration. Therefore it might be a good tradeof to provide a default config on initialization which will cover most of the use-cases.
Everthing else can be enabled as "opt-in".
Providing a set of default configs might also be an option to keep changie
easy to use, what do you think?
from changie.
Note to self, promptui does not support multiline inputs and therefore we would need to choose another tool for prompts. I am going to close this for now and reassess further options at a later date.
from changie.
Hi. Any thoughts on re-opening this? I would suggest that if a user wants to have multi-line changelog entries, firing up their $EDITOR
would be a perfectly reasonable thing to do, right?
I would love to see this in changie!
from changie.
Hi @matthiasbeyer , I was planning on creating a task very similar to this once we swap prompt tools as part of #119 as survey supports more options including EDITOR and multi-line. Ideally Changie would support any valid prompt type from survey, maybe as part of a v2 rewrite of the config if we need to.
from changie.
Reopening as it is planned with the swap to survey
from changie.
Waiting on #119
from changie.
Work will begin soon using a new tool related to this issue: #457
from changie.
Released in https://github.com/miniscruff/changie/releases/tag/v1.12.0
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.