nedbat / scriv

Changelog management tool
https://scriv.readthedocs.io
Apache License 2.0
256 stars 28 forks source link

Possibility to remove the gitname from the fragment file name #103

Open maxschulz-COL opened 1 year ago

maxschulz-COL commented 1 year ago

I could not find the setting in the docs - but is it possible to remove the gitname in the file name of the fragment.

There are many ways to see that name otherwise as its public, but this makes the name even more public :)

nedbat commented 1 year ago

You want to omit the branch name, or the user name? And can you say more about why? Public information is public.

maxschulz-COL commented 1 year ago

It would be the user name - and yes, that's what I meant with that it's clearly public already, but having it in the file name makes it somewhat more visible.

The reason why we want that is that it's somewhat bureaucracy... people are more hesitant especially in a "corporate" context to have their names show so dominantly.

In our case we would wanna follow your idea of referring to the fragments as unreleased changes, but then there are immediately the names showing in that folder which might worry some..

Hope that makes sense a little

Thanks for getting back so promptly!

nedbat commented 1 year ago

Sorry, why did you close this?

maxschulz-COL commented 1 year ago

I thought it might not be of interest, so didn't want to clog up the issues :) Can reopen though!

RonnyPfannschmidt commented 11 months ago

@nedbat im also in need of the feature, cause my git name taken from my email username is opensouce it makes no sense in context

RonnyPfannschmidt commented 11 months ago

i propose the addition of a scriv.user_nick option

nedbat commented 11 months ago

This is now released as part of scriv 1.4.0.

maxschulz-COL commented 11 months ago

QQ: this needs to be individually enabled in every git user setting? Or could this also be enabled globally in the scriv.ini such that the names just would not show up?

nedbat commented 11 months ago

This would be for each user. I can re-open this since the new setting doesn't exactly address the original request.