Correct, the example wasn't 100% valid Go code before. I've made it more complete and formatted it in #17. Thanks for the heads up!
It was simply an alternative, and one I expected would not be accepted for a myriad of reasons. 👍 I will discontinue unless new discussion is required in order to avoid circling too much.
I am aware, and my statement stands. I guess I can't say for sure whether other projects added their own in the first place, so perhaps that's vaguely different. But even so, I/we wouldn't want to...
To my knowledge, none of the other projects that have contributed to Gitea have had a problem with this license header, moreover I/we don't want to make an exception for a single project,...
Yes, file can be a list of globs. We use filepath.Glob (the pattern matching is described over at [filepath.Match](https://pkg.go.dev/path/filepath#Ma...
Hey thanks for the ping. I think my opinion remains as it was in the other issue, I understand your reasoning for wanting to keep this project's goals simple. 🙂
Indeed opening it up to...
That sounds good to me!
And it should be the equivalent scope based on
061b68e995/models/migrations/v1_20/v259.go (L285)
In the upcoming 1.20 they were revised as such
734fd93f59/models/auth/token_scope.go (L80)
(Don't worry, a migration will...
I wonder if this should specify it needs Write permission for the scope.