scriv icon indicating copy to clipboard operation
scriv copied to clipboard

Possibility to remove the gitname from the fragment file name

Open maxschulz-COL opened this issue 1 year ago • 9 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 :)

maxschulz-COL avatar Sep 01 '23 07:09 maxschulz-COL

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

nedbat avatar Sep 01 '23 13:09 nedbat

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!

maxschulz-COL avatar Sep 01 '23 13:09 maxschulz-COL

Sorry, why did you close this?

nedbat avatar Sep 08 '23 00:09 nedbat

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

maxschulz-COL avatar Sep 08 '23 06:09 maxschulz-COL

@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 avatar Oct 02 '23 14:10 RonnyPfannschmidt

i propose the addition of a scriv.user_nick option

RonnyPfannschmidt avatar Oct 02 '23 14:10 RonnyPfannschmidt

This is now released as part of scriv 1.4.0.

nedbat avatar Oct 12 '23 12:10 nedbat

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?

maxschulz-COL avatar Oct 12 '23 13:10 maxschulz-COL

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

nedbat avatar Oct 12 '23 13:10 nedbat