feat: init bucket

This commit is contained in:
2025-01-04 21:47:16 +08:00
parent 69d2c43084
commit ece10a8c2d
5 changed files with 71 additions and 35 deletions

View File

@@ -1,42 +1,25 @@
# Scoop Bucket Template
# Scoop-Dumtruck
<!-- Uncomment the following line after replacing placeholders -->
<!-- [![Tests](https://github.com/<username>/<bucketname>/actions/workflows/ci.yml/badge.svg)](https://github.com/<username>/<bucketname>/actions/workflows/ci.yml) [![Excavator](https://github.com/<username>/<bucketname>/actions/workflows/excavator.yml/badge.svg)](https://github.com/<username>/<bucketname>/actions/workflows/excavator.yml) -->
A collection of quirky software, like the dumtruck, taking you to another world.
Template bucket for [Scoop](https://scoop.sh), the Windows command-line installer.
## How to add this bucket
## How do I use this template?
---
1. Generate your own copy of this repository with the "Use this template"
button.
2. Allow all GitHub Actions:
- Navigate to `Settings` - `Actions` - `General` - `Actions permissions`.
- Select `Allow all actions and reusable workflows`.
- Then `Save`.
3. Allow writing to the repository from within GitHub Actions:
- Navigate to `Settings` - `Actions` - `General` - `Workflow permissions`.
- Select `Read and write permissions`.
- Then `Save`.
4. Document the bucket in `README.md`.
5. Replace the placeholder repository string in `bin/auto-pr.ps1`.
6. Create new manifests by copying `bucket/app-name.json.template` to
`bucket/<app-name>.json`.
7. Commit and push changes.
8. If you'd like your bucket to be indexed on `https://scoop.sh`, add the
topic `scoop-bucket` to your repository.
To make it easy to install apps from this bucket, run
## How do I install these manifests?
scoop bucket add dumtruck https://github.com/dumtruck/scoop-bucket.git
After manifests have been committed and pushed, run the following:
Check that it works:
```pwsh
scoop bucket add <bucketname> https://github.com/<username>/<bucketname>
scoop install <bucketname>/<manifestname>
```
scoop bucket list
## How do I contribute new manifests?
For update run:
To make a new manifest contribution, please read the [Contributing
Guide](https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md)
and [App Manifests](https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests)
wiki page.
scoop update
For example, search all avialable memtest packages:
scoop search xxx
You've completed all the necessary steps, just enjoy it!