Go to file
2023-02-11 15:46:39 -05:00
.github fix ci/cd 2023-02-11 10:38:39 -05:00
.vscode simplify index-packages (#153) 2023-02-02 16:51:19 -05:00
projects fix ci/cd 2023-02-11 10:38:39 -05:00
scripts $HOME is not expanded 2023-02-11 15:46:39 -05:00
.gitignore +cJSON using +tea.xyz/brewkit 2023-02-11 05:52:24 -05:00
deno.jsonc fix ci/cd 2023-02-11 10:38:39 -05:00
README.md +cJSON using +tea.xyz/brewkit 2023-02-11 05:52:24 -05:00

tea

This pantry† represents the most essential open source packages in the world. We promise to prioritize fixes, updates and robustness for these packages. We will not lightly accept additions, and thus suggest submitting your pull request against pantry.extra first.

† see pantry.zero for “what is a pantry”

Use with tea/cli

tea/cli clones/updates this pantry and pantry.extra when installed with the installer or when you run tea --sync. At this time pantries are not versioned.

 

Contributing

$ git clone https://github.com/teaxyz/pantry.core

$ cd pantry.core
# all the following commands operate in `./tea.out`
# your tea installation remains untouched

$ xc init
# ^^ creates a “wip” package.yml

$ xc edit
# ^^ opens the new package.yml in your EDITOR

$ xc build
# ^^ will probably require a (zero permissions) GitHub [PAT].
# Using `gh auth login` is the easiest way to set this up.

$ xc test
# ^^ you need to write a test that verifies the package works

$ gh repo fork
$ git branch -m my-new-package
$ git push origin my-new-package
$ gh pr create

Packaging Guide

Packaging can be cumbersome. Our wiki is our packaging knowledge base. For other assistance, start a discussion.

After Your Contribution

We build “bottles” (tard binaries) and upload them to both our centralized bottle storage and decentralized IPFS.

tea automatically builds new releases of packages as soon as they are released (usually starting the builds within seconds). There is no need to submit PRs for updates.

 

Tasks

The following can all be run with xc, eg. xc init.

Init

Creates a new package at ./projects/wip/$RANDOM_TEA_BLEND/package.yml.

tea -E +tea.xyz/brewkit init

Edit

Opens all wip packages in $EDITOR.

tea -E +tea.xyz/brewkit edit

Build

Builds all wip packages to ./tea.out.

tea -E +tea.xyz/brewkit build

Test

Tests all wip packages.

tea -E +tea.xyz/brewkit test