Hello @carloscuesta :sunglasses:!
:hand: chmod) for files, for example to make them executable or not.I use gitmoji in my team and have authored a commit purely for changing file permissions, to not find one. Therefore I propose the :hand: emoji for this, as it can represent a hand denying permission to someone/something. Am happy to accept other suggestions too.
Nice one, I suggest β, or π π π«
π makes the most sense to me.
Note that git does not store real file permissions. The only thing which is stored in git, is the executable bit x. So a file can be only executable (mode 755) or not (mode 644), nothing other.
Since :key: can be interpreted in may different ways (for example #231 ) and it is a matter of just executable or not, probably something run related fits better. For example
πΈ or πββοΈ or π
I would prefer πΈ over the other two, since it looks more like a permission and that something is able to run (like an executable bit) instead of actively running like the other two.
Heya @DanielHilton
This is interresting. While I like the idea, I think it is very rare to update file permissions. In my expirience there is a single commit in a regular repo (or none in even more ordinary repo) when you forget to set the permissions of a CLI.
At this point I don't think that the use case is so common to make sence to introduce the symbol. Do you agree? If not, can you point to a repo or few, where changing permissions is a thing?
Thanks for proposal πΈ
Im my personal experience, it's useful for new development when (many a time) i have forgotten and pushed a script to a repository only to find when it is executed by my build server with ./run.sh it fails. I need to then commit and push a change only to change the executable permission flag on the file; which then prompted me to find there was no such emoji for this.
This feels quite niche to me and seems DevOpsy. Personally, I don't think we need something so narrow in scope but I do think it highlights a good option for scripting and infrastructure work. I'm aware we have gitmoji for kubernetes and Docker :)
Thoughts?
Note that git does not store real file permissions.
That's it.
The only thing which is stored in git, is the executable bit
x.
What about π§ for this ?
Dont think it's worth to add this as a gitmoji
π§ is already used by βAdding or updating configuration files.β
I would also say that changing permissions is rare enough, that learning a new gitmoji is not worth.
However, we could at least think of, under which gitmoji this is already covered and probably add it to the description.
βπ Fixing security issues.β: File permissions are for security reasons, but with this emoji you usually mean security issues within the application you develop and store in the repository
βπ Moving or renaming files.β: File permissions does not change the path a file, but its file state which is also true when changing the file path. I would prefer this gitmoji and add to its description βor change file permissionsβ.
Dont think it's worth to add this as a gitmoji
π§ is already used by βAdding or updating configuration files.β
@carloscuesta @raabf I meant : what about using this existing gitmoji for these kind of commits ?
@KaKi87 Oh sorry then I misunderstood that :sweat_smile: . Mhmm
π§ βAdding or updating configuration files.β: Would be possible, changing permissions is some kind of configuration of the repository, but the executable bit is usually set on binaries or scripts, but not on configuration files. With π§ I would expect that a script has afterwards some different behaviour, which would not be the case for setting executable bit; so I personally would not relate that.
What about removing files and just keeping Adding or updating configuration ?
Based on the upvotes I think we should discard this proposal.
Thanks @danielhilton!
Most helpful comment
π makes the most sense to me.