Skip to content

Commit

Permalink
Initialized bucket. Added ubilerntui json.
Browse files Browse the repository at this point in the history
  • Loading branch information
WyvernIXTL committed Jan 16, 2024
1 parent 0a023c0 commit bbfc114
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 30 deletions.
42 changes: 14 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,28 @@
# Scoop Bucket Template
<div align="center">

<!-- 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) -->
# `stupid-bucket`

Template bucket for [Scoop](https://scoop.sh), the Windows command-line installer.
[![Tests](https://github.com/WyvernIXTL/stupid-bucket/actions/workflows/ci.yml/badge.svg)](https://github.com/WyvernIXTL/stupid-bucket/actions/workflows/ci.yml) [![Excavator](https://github.com/WyvernIXTL/stupid-bucket/actions/workflows/excavator.yml/badge.svg)](https://github.com/WyvernIXTL/stupid-bucket/actions/workflows/excavator.yml)

## How do I use this template?
**This is a scoop bucket for my personal projects.**
</div>

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.

## How do I install these manifests?
## Motivation

After manifests have been committed and pushed, run the following:
Scoop has no offical bucket allowing projects with almost no github stars.


## Installation

```pwsh
scoop bucket add <bucketname> https://github.com/<username>/<bucketname>
scoop install <bucketname>/<manifestname>
scoop bucket add stupid-bucket https://github.com/WyvernIXTL/stupid-bucket
```


## How do I contribute new manifests?

To make a new manifest contribution, please read the [Contributing
~~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.
wiki page.~~
3 changes: 1 addition & 2 deletions bin/auto-pr.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
param(
# overwrite upstream param
[String]$upstream = "<username>/<bucketname>:main"
[String]$upstream = "WyvernIXTL/stupid-bucket:main"
)

if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
Expand Down
44 changes: 44 additions & 0 deletions bucket/ubilerntui.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": "0.1.2",
"description": "This is a terminal UI for learning for the UKW-Sprechfunkzeugnis für den Binnenschiffahrtsfunk.",
"homepage": "https://github.com/WyvernIXTL/ubilerntui",
"license": "GPL-3.0-or-later",
"architecture": {
"64bit": {
"url": "https://github.com/WyvernIXTL/ubilerntui/releases/download/v0.1.2/ubilerntui-v0.1.2-x86_64-pc-windows-msvc.zip",
"hash": "afb0c329ea5e49f6e2cb4ef8255ef827ac4d78156afbfe50598743ab807d029e"
},
"32bit": {
"url": "https://github.com/WyvernIXTL/ubilerntui/releases/download/v0.1.2/ubilerntui-v0.1.2-i686-pc-windows-msvc.zip",
"hash": "58049372ef1f08dc787c642d2eac7877a1f611e58d2a357665cbd92d3cdeba33"
},
"arm64": {
"url": "https://github.com/WyvernIXTL/ubilerntui/releases/download/v0.1.2/ubilerntui-v0.1.2-aarch64-pc-windows-msvc.zip",
"hash": "ab6ee898af937963ca79051daef9946afef5722f0ff34f3dfa84022578101981"
}
},
"bin": "ubilerntui.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/WyvernIXTL/ubilerntui/releases/download/v$version/ubilerntui-v$version-x86_64-pc-windows-msvc.zip",
"hash": {
"url": "$urlNoExt.sha256"
}
},
"32bit": {
"url": "https://github.com/WyvernIXTL/ubilerntui/releases/download/v$version/ubilerntui-v$version-i686-pc-windows-msvc.zip",
"hash": {
"url": "$urlNoExt.sha256"
}
},
"arm64": {
"url": "https://github.com/WyvernIXTL/ubilerntui/releases/download/v$version/ubilerntui-v$version-aarch64-pc-windows-msvc.zip",
"hash": {
"url": "$urlNoExt.sha256"
}
}
}
}
}

0 comments on commit bbfc114

Please sign in to comment.