Initial implementation of codespaces API#2803
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Signed-off-by: Aidan Jensen <aidan@artificial.com>
gmlewis
left a comment
There was a problem hiding this comment.
Nice job, @artificial-aidan!
Just a few changes please, and then we will be ready for a second LGTM+Approval before merging.
github/codespaces.go
Outdated
| StorageInBytes *int `json:"storage_in_bytes,omitempty"` | ||
| MemoryInBytes *int `json:"memory_in_bytes,omitempty"` |
There was a problem hiding this comment.
| StorageInBytes *int `json:"storage_in_bytes,omitempty"` | |
| MemoryInBytes *int `json:"memory_in_bytes,omitempty"` | |
| StorageInBytes *int64 `json:"storage_in_bytes,omitempty"` | |
| MemoryInBytes *int64 `json:"memory_in_bytes,omitempty"` |
I'll push those up. I also renamed some of the list methods to match others in the repo. |
|
Thank you! |
Working on the CLA now. Should I push the suggested changes, then run go generate? |
Signed-off-by: Aidan Jensen <aidan@artificial.com>
Signed-off-by: Aidan Jensen <aidan@artificial.com>
Signed-off-by: Aidan Jensen <aidan@artificial.com>
Signed-off-by: Aidan Jensen <aidan@artificial.com>
Codecov Report
@@ Coverage Diff @@
## master #2803 +/- ##
==========================================
- Coverage 98.06% 98.00% -0.06%
==========================================
Files 132 134 +2
Lines 11650 11915 +265
==========================================
+ Hits 11424 11677 +253
- Misses 154 162 +8
- Partials 72 76 +4
|
Signed-off-by: Aidan Jensen <aidan@artificial.com>
Signed-off-by: Aidan Jensen <aidan@artificial.com>
|
The last commit basically mirrors the functionality and layout of Action secrets, but consolidated the tests a bit. I added some examples I used when validating its functionality against a real github. |
|
Please don't use force-push in this repo, as we always squash-and-merge at the end anyway. |
Sorry about that. Must have been out of habit 👍 |
Signed-off-by: Aidan Jensen <aidan@artificial.com>
Signed-off-by: Aidan Jensen <aidan@artificial.com>
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @artificial-aidan !
LGTM.
Awaiting CLA and LGTM+Approval from any other contributor to this repo before merging.
|
It looks like you might need to run |
Signed-off-by: Aidan Jensen <aidan@artificial.com>
|
@gmlewis got the CLA signed |
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @artificial-aidan !
LGTM.
Awaiting LGTM+Approval from any other contributor to this repo before merging.
|
Thank you, @valbeat ! |
#2362