guitarrapc / scoop-bucket

A bucket for scoop.

Home Page:https://rasa.github.io/scoop-directory/by-score.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auto update bucket

scoop-bucket

guitarrapc's tool buckets.

Buckets

  • bombardier
  • conftest
  • ctop
  • DejaVuSansMono-Bront
  • ecspresso
  • ghz
  • googlechrome-stable
  • opa
  • py
  • qttabbar
  • qttabbar-path

Moved to Extras

  • actionlint

Auto Update buckets

see https://github.com/ScoopInstaller/Excavator

Follow steps to prepare auto update your bucket.

  • Copy .github and bin directories of this Repository.
  • Run following command on Git Bash to generate your SSH Key for auto bucket update.
# Remove existing `.ssh/id_rsa.pub` to regenerate ssh key for your repo.
rm .github/.ssh/id_rsa.pub
# Move to .github
cd .github
# Run gen sshkey. (This step will not run if .github/.ssh/id_rsa.pub exsits.)
# * Public key is placed in host's `.github/.ssh/id_rsa.pub`.
# * Private key is placed in host's `.github/.ssh/id_rsa`.
docker-compose up --build
# Encrypt private key `.github/.ssh/id_rsa.cipher` will be generated.
KEY=<YOUR_CIPHER_KEY> ./encrypt.sh
  • Set your cipher key to github secrets, name CIPHER_KEY.
  • Set your bucket github account info in https://github.com/guitarrapc/scoop-bucket/blob/master/.github/docker-compose.
version: "3.6"

services:
  main:
    image: r15ch13/excavator:latest
    # definitions....
    environment:
      GIT_USERNAME: "<USER_NAME>"
      GIT_EMAIL: "<EMAIL@ADDRESS>"
      BUCKET: "<OWNER>/<REPOSITORY>"
  • Commit and push change to remote, GitHub Actions auto update bucket will be shown.
  • GitHub Actions auto update bucket automatically update your bucket on schedled every hour.

NOTE: You can trigger action manually.

TIPS

Auto add Hash for new Bucket

  1. Create bucket with empty hash, "hash": "", 1 old version than latest.
  2. Push to origin, and run update workflow.
  3. Bucket update will detected and hash will automatically filled by system.

About

A bucket for scoop.

https://rasa.github.io/scoop-directory/by-score.html

License:MIT License


Languages

Language:PowerShell 100.0%