nedbat/scriv

Possibility to remove the gitname from the fragment file name

maxschulz-COL opened this issue · 10 comments

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

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

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

Sorry, why did you close this?

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

@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

i propose the addition of a scriv.user_nick option

nedbat commented

This is now released as part of scriv 1.4.0.

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

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