Comments (7)
Let's just use the SHA as the version number if no version number is specified. I think we don't need the branch name especially as multiple branch names might point to the same SHA. Just having the SHA + date should be enough information for the case that the version number is omitted.
I wouldn't like the version number to become mandatory because people might just want to have a changelog even if they don't do versioning. In that case, auto versioning with the SHA sounds like a great default to me. Are you ok with that?
And yes the empty, unclosed <a>
tag is definitely a bug.
Btw, I could give you push access to this repository if you like?
from clog-cli.
Mmh, I took a look at the original project and it's unclear to me what is the point of the <a>
tag.
https://github.com/ajoslin/conventional-changelog/blob/master/lib/writer.js#L81
As it stands the <a>
tag is only used if no repository link is specified and even then it's not using a href at all (maybe only used as an internal anchor). So, I'm not sure what was the intended purpose and maybe @ajoslin can clarify.
We could certainly use an <a>
tag to point to the tag on github if we want to. I think until we decide on that I'll just remove it and use the SHA as the version number if no version number is specified.
from clog-cli.
The purpose of the anchor tag is to make the header on the page linkable.
from clog-cli.
Ok, but why only if the repository is NOT specified.
https://github.com/ajoslin/conventional-changelog/blob/master/lib/writer.js#L98
from clog-cli.
Because I think the templates may be twisted. The LINK_HEADER_TPL
doesn't actually use the link.
https://github.com/ajoslin/conventional-changelog/blob/master/lib/writer.js#L80
from clog-cli.
You're right. This is something I forgot to remove when I took out a link feature.
I'm out right now, would you mind opening an issue about this on the repo?
"link header tpl is deprecated"
from clog-cli.
Sure :) conventional-changelog/conventional-changelog#26
from clog-cli.
Related Issues (20)
- clog not working... HOT 3
- Define custom sections into .clog.toml file HOT 3
- Feature Request: custom section ordering.
- No default sections, when a config file is used.
- changelog update, but no entries in the changelog itself HOT 7
- No changelog is being generated
- Broken commit hash link generate for GitHub HOT 1
- [Bug] a type named `INT` has already been imported in this module
- Alpine Linux: word unexpected HOT 1
- Allow generation of changelog for specific components HOT 4
- Implement component "aliases" HOT 1
- clog-cli duplicates log entries with every execution HOT 2
- feature request: auto-increment based on changes
- add option to bump Cargo.toml/Cargo.lock
- Support exclamation mark after type/scope of the "conventional commits" convention.
- Does this work with Azure DevOps or only with github??
- Error in an untagged repository HOT 1
- Build and upload binaries with github releases
- `--setversion` flag not working for ubuntu. HOT 9
- No output for basic clog command HOT 2
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 clog-cli.