mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-11-28 16:40:27 +08:00
This commit was generated by Claude Code with the following prompt: Ubicloud supports listing all cache entries for a github repository for a github installation in a project. It also supports deleting a specific cache entry. Add support for deleting all cache entries for a github repository: * Add an appropriate endpoint to routes/project/github.rb to delete all cache entries for a repository * To allow API requests to the route to work, update the OpenAPI configuration stored in openapi/openapi.yml * Update views/github/cache.erb to add a button that calls that route * Add appropriate capybara-based specs to test this change to spec/routes/web/project/github_spec.rb * Update sdk/ruby/lib/ubicloud/model/github_repository.rb to add support for calling that route to the SDK * Add cli-commands/gh/post/remove-all-cache-entries.rb to add support to the CLI, using the SDK support * Add appropriate specs to test this change to a new file named spec/routes/api/cli/gh/remove-all-cache-entries_spec.rb, similar to the existing specs in spec/routes/api/cli/gh/remove-cache-entry_spec.rb |
||
|---|---|---|
| .. | ||
| cache.erb | ||
| index.erb | ||
| runner.erb | ||
| setting.erb | ||
| tabbar.erb | ||