Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --sort-tags #210

Closed
wants to merge 12 commits into from
Closed

add --sort-tags #210

wants to merge 12 commits into from

Conversation

anatawa12
Copy link

Closes #197

@ljharb
Copy link
Contributor

ljharb commented Jun 14, 2021

Any tests and documentation of the new flag?

@anatawa12
Copy link
Author

anatawa12 commented Jun 14, 2021 via email

@anatawa12
Copy link
Author

I've added tests and documentation.

test/tags.js Show resolved Hide resolved
@anatawa12
Copy link
Author

The implementation is done. If the development team think test for this is enough, This pull request is ready to merge. This PR is approved so I think ready to merge.

@mrttrifork
Copy link

What is the status on this PR?

We follow semver, but 2.9.0 appears before 2.10.0, so you get the sense that 2.9.0 is a newer tag.

@anatawa12
Copy link
Author

@mrttrifork As I wrote in previous comment, I think it's ready to merge.
@cookpete How do you feel this PR?

@ljharb
Copy link
Contributor

ljharb commented Jan 27, 2022

That’s absurd; 8 months isn’t “dormant”.

@cookpete
Copy link
Owner

cookpete commented Feb 3, 2022

I have every intention of catching up with this and react-player when I can, but life tends to gets busier as you get older. Spare time for open source projects becomes very rare.

Regardless, isn’t this whole PR made redundant by the --append-git-tag option? You can add anything you want to the git tag call without the need for yet another new setting.

auto-changelog --append-git-tag "--sort=whatever"

@anatawa12
Copy link
Author

anatawa12 commented Feb 3, 2022

Regardless, isn’t this whole PR made redundant by the --append-git-tag option? You can add anything you want to the git tag call without the need for yet another new setting.

I don't think so because the auto-changelog sorts tags by semver after git tag command.

@cookpete
Copy link
Owner

cookpete commented Feb 3, 2022

Good point @anatawa12. In that case I would rather just look for "--sort" inside options.appendGitTag and not sort the tags if it exists.

I’m still trying to understand the use case here? How else would you want to sort your tags?

@cookpete cookpete closed this in 3e25b8c Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add option to sort by commit date
4 participants