-
Notifications
You must be signed in to change notification settings - Fork 147
Exposes in API the Repo entity's Size and Isempty properties #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exposes in API the Repo entity's Size and Isempty properties #64
Conversation
repo.go
Outdated
@@ -27,6 +27,8 @@ type Repository struct { | |||
Description string `json:"description"` | |||
Private bool `json:"private"` | |||
Fork bool `json:"fork"` | |||
Empty bool `json:"empty"` | |||
Size bool `json:"size"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Size is not a boolean :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed as you were writing that 😁
a38eca4
to
66b7d30
Compare
for Gogs/Gitea, API is not yet out, cf following PRs: cf unfoldingWord-dev/python-gitea-client#9 cf go-gitea/go-sdk#56 cf gogs/gogs#4484 cf gogs/go-gogs-client#64 cf https://github.com/gogits/gogs/pull/4484o fixes #129
for Gogs/Gitea, API is not yet out, cf following PRs: cf unfoldingWord-dev/python-gitea-client#9 cf go-gitea/go-sdk#56 cf gogs/gogs#4484 cf gogs/go-gogs-client#64 cf gogs/gogs#4484 fixes #129
for Gogs/Gitea, API is not yet out, cf following PRs: cf unfoldingWord-dev/python-gitea-client#9 cf go-gitea/go-sdk#56 cf go-gitea/gitea#1668 cf gogs/gogs#4484 cf gogs/go-gogs-client#64 fixes #129
is there still an issue? |
Signed-off-by: Guyzmo <[email protected]>
Signed-off-by: Guyzmo <[email protected]>
932264d
to
150f22a
Compare
* Add new field "Empty" to Repository structure * Fix Empty type to bool * Add Size property to Repository structure Signed-off-by: Guyzmo <[email protected]>
150f22a
to
dcc0d6c
Compare
Signed-off-by: Guyzmo <[email protected]>
dcc0d6c
to
6fb98c4
Compare
Signed-off-by: Guyzmo <[email protected]>
6fb98c4
to
9769715
Compare
is it ok? FYI, I've had that same change accepted and merged into gitea, I did my best to make sure any changes they required from me has been mirrored in that branch, but I can have done some mistakes! |
Yeah, I didn't notice the correlated PR in the Gogs mai repository. Should be able review and merge tonight. |
brilliant 👍 |
Thank you! |
cf gogs/gogs#4484