GithubHelp home page GithubHelp logo

pantry.core's People

Contributors

getneil avatar jhheider avatar jonchang avatar lino-levan avatar mxcl avatar rossilor95 avatar tnxz avatar xercesblu3 avatar zegl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pantry.core's Issues

pantry.core current build failures dashboard

We promise to make everything in pantry.core build promptly, yet we have no proof we do that. We need some kind of “current failing builds in pantry.core” dashboard.

Ideally embeddable in the README.

rebuild entire binary corpus with Apple-blessed code signing

Hopefully, this is the last full rebuild for a while (ever).
But this will get us the gpg sigs, so all is not blackness.
Start the timer.

  • tea.xyz/gx/cc
  • gnome.org/libxml2
  • zlib.net
  • gnu.org/gettext
  • freedesktop.org/pkg-config
  • perl.org
  • git-scm.org
  • invisible-island.net/ncurses
  • openssl.org
  • gnu.org/readline
  • curl.se
  • sourceware.org/bzip2 - needs #65, but I'm not sure why.
  • libexpat.github.io
  • sourceware.org/libffi
  • bytereef.org/mpdecimal
  • tukaani.org/xz
  • sqlite.org
  • cmake.org
  • python.org
  • gnu.org/bash
  • pcre.org
  • gnu.org/m4
  • ninja-build.org
  • mesonbuild.com
  • gnome.org/glib
  • gnu.org/bison
  • github.com/westes/flex
  • gnu.org/gperf
  • gnu.org/autoconf
  • gnome.org/gobject-introspection
  • libpng.org
  • pixman.org
  • freetype.org
  • freedesktop.org/fontconfig
  • pyyaml.org
  • gnu.org/libtool
  • gnu.org/automake
  • gnu.org/patch
  • gnu.org/gmp
  • cairographics.org
  • unicode.org
  • gnu.org/tar
  • ruby-lang.org
  • libuv.org
  • llvm.org
  • libevent.org
  • haskell.org - pkgxdev/pkgx#242
  • haskell.org/cabal - pkgxdev/pkgx#242
  • go.dev
  • rust-lang.org
  • rust-lang.org/cargo
  • harfbuzz.org
  • gnu.org/fribidi
  • freedesktop.org/shared-mime-info
  • gnupg.org/libgpg-error
  • gnupg.org/npth
  • github.com/json-c/json-c
  • libwebsockets.org
  • deno.land
  • rubygems.org
  • pandoc.org
  • ipfs.tech
  • info-zip.org/unzip
  • youtube-dl.org
  • lua.org
  • ijg.org
  • crates.io/licensor
  • crates.io/fd-find
  • crates.io/broot
  • crates.io/bpb
  • crates.io/bat
  • crates.io/ripgrep
  • gnome.org/pango
  • gnome.org/gdk-pixbuf
  • gnome.org/librsvg
  • catb.org/wumpus
  • pip.pypa.io
  • htop.dev
  • musl.libc.org
  • shellcheck.net
  • gnu.org/coreutils
  • gnu.org/wget
  • gnu.org/make
  • gnupg.org/libksba
  • gnupg.org/libassuan
  • gnupg.org/libgcrypt
  • gnupg.org
  • tsl0922.github.io/ttyd
  • nasm.us
  • ffmpeg.org
  • denilson.sa.nom.br/prettyping
  • gohugo.io
  • nixos.org/patchelf
  • tea.xyz
  • charm.sh/gum
  • charm.sh/vhs
  • charm.sh/glow
  • nodejs.org
  • github.com/numactl/numactl
  • github.com/zegl/kube-score
  • github.com/cli/cli
  • github.com/rhash/RHash rhash.sourceforge.net
  • github.com/kkos/oniguruma
  • just.systems
  • stedolan.github.io/jq
  • midnight-commander.org
  • npmjs.com
  • rubygems.org/gist
  • rigaux.org/hexedit
  • pandoc.org/crossref
  • darwinsys.com/file

`git` has some issues

Got this on Linux:

warning: templates not found in /opt/git-scm.org/v2.38.1/share/git-core/templates
/root/.tea/git-scm.org/v2.38.1/libexec/git-core/git-remote-https: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory

avoid rebottling

  1. PR builds and bottles
  2. merged PR builds and bottles

I don’t see why the PR needs to bottle, am I missing something?


Long term we would obviously like to avoid rebuilding too.

Python should also provide `pythonx.y`

I'm not sure if this is the right repo for this issue since this might not be supported by tea, but Python (and Pip) normally also provides pythonx.y (and pipx.y), for example python3.11. Currently, only python and python3 are provided. This is relevant for both being inside a tea environment, and tea -X (where a specific version can be inferred, for example ~3.11, which might make sense to be split into another issue).

package.yml comments/metadata

I've been researching a lot of Homebrew formulas so I can make tea formulas, and my first question is does tea want to keep the metadata that Homebrew has, like description, homepage, license, etc.

`build-deps.ts` outputting... questionable sets.

https://github.com/teaxyz/pantry.extra/actions/runs/3661040048/jobs/6200560379

cli/scripts/install.ts invisible-island.net/ncurses^6 gnome.org/libxml2^2 gnu.org/readline^8 gnu.org/m4^1 perl.org openssl.org^1.1 zlib.net^1 gnu.org/gettext^0.21 sourceware.org/bzip2^1 sourceware.org/libffi^3 libexpat.github.io^2 bytereef.org/mpdecimal^2 tukaani.org/xz^5 sqlite.org^3 llvm.org gnu.org/autoconf^2.65 gnu.org/automake^1 gnu.org/make "curl.se>=5" git-scm.org^2 python.org^3 gnu.org/patch github.com/numactl/numactl^2 gnu.org/gmp^6 tea.xyz/gx/cc^0.1 zlib.net^1 openssl.org^1.1 "llvm.org>=12<15" gnu.org/gmp^6 invisible-island.net/ncurses^6 sourceware.org/libffi^3 curl.se tea.xyz/gx/cc^0.1 tukaani.org/xz^5 haskell.org^9 zlib.net^1 "llvm.org>=12<15" gnu.org/gmp^6 invisible-island.net/ncurses^6 sourceware.org/libffi^3 tea.xyz/gx/cc^0.1 haskell.org^9 haskell.org/cabal^3 openssl.org^1.1 "curl.se>=5" zlib.net^1 sourceware.org/bzip2^1 llvm.org cmake.org^3 tea.xyz/gx/cc^0.1 gnu.org/make zlib.net^1 "llvm.org>=12<15" gnu.org/gmp^6 invisible-island.net/ncurses^6 sourceware.org/libffi^3 tea.xyz/gx/cc^0.1 haskell.org^9 haskell.org/cabal^3 pandoc.org^2.18 zlib.net^1 "llvm.org>=12<15" gnu.org/gmp^6 invisible-island.net/ncurses^6 tea.xyz/gx/cc^0.1 sourceware.org/libffi^3 haskell.org^9 haskell.org/cabal^3

Trying to limit these packages to llvm.org<15, but we're getting both llvm.org and "llvm.org>=12<15" out of build-deps.ts, which is installing both, which seems to be bringing the wrong one into build scripts.

  + export PATH=/opt/invisible-island.net/ncurses/v6.3.0/bin:/opt/gnome.org/libxml2/v2.10.3/bin:/opt/gnu.org/readline/v8.1.0/bin:/opt/llvm.org/v15.0.6/bin:/opt/gnu.org/m4/v1.4.19/bin:/opt/perl.org/v5.36.0/bin:/opt/openssl.org/v1.1.118/bin:/opt/gnu.org/gettext/v0.21.1/bin:/opt/sourceware.org/bzip2/v1.0.8/bin:/opt/libexpat.github.io/v2.5.0/bin:/opt/tukaani.org/xz/v5.2.7/bin:/opt/sqlite.org/v3.40.0/bin:/opt/tea.xyz/gx/cc/v0.1.1/bin:/opt/gnu.org/autoconf/v2.71.0/bin:/opt/gnu.org/automake/v1.16.5/bin:/opt/gnu.org/make/v4.3.0/bin:/opt/curl.se/v7.86.0/bin:/opt/git-scm.org/v2.38.1/bin:/opt/python.org/v3.11.1/bin:/opt/gnu.org/patch/v2.7.6/bin:/opt/github.com/numactl/numactl/v2.0.16/bin:/opt/tea.xyz/v0.16.2/bin:/usr/bin:/bin:/usr/sbin:/sbin

Hardcoded /opt/tea.xyz in scripts.

I've been noticing strange paths and I just realized why. It's hardcoded! Are there plans on changing this?

tea.xyz/var/pantry/scripts/build/build.ts:      export PATH=/opt/tea.xyz/var/pantry/scripts/brewkit:"$PATH"
tea.xyz/var/pantry/.github/workflows/build.yml:          srcroot: /opt/tea.xyz/var/pantry
tea.xyz/var/pantry/.github/workflows/build.yml:          ln -s $GITHUB_WORKSPACE/cli /opt/tea.xyz/var/cli
tea.xyz/var/pantry/.github/workflows/build.yml:            cp -rv pantry/scripts/* /opt/tea.xyz/var/pantry/scripts
tea.xyz/var/pantry/.github/workflows/build.yml:      - run: /opt/tea.xyz/var/pantry/scripts/sort.ts ${{ inputs.projects }}
tea.xyz/var/pantry/.github/workflows/build.yml:      - run: /opt/tea.xyz/var/pantry/scripts/build-deps.ts ${{ steps.sorted.outputs.pkgs }}
tea.xyz/var/pantry/.github/workflows/build.yml:      - run: /opt/tea.xyz/var/pantry/scripts/build.plumbing.ts ${{ steps.sorted.outputs.pkgs }}
Binary file tea.xyz/v0.13.0/bin/tea matches
utah.edu/jctl/src/build.sh:export PATH=/opt/tea.xyz/var/pantry/scripts/brewkit:"$PATH"

Can't build my package.yml (3 different errors)

I am trying to build a project in a Docker container and I get this error.

TEA_PREFIX=/opt /opt/tea.xyz/var/pantry/scripts/build.ts isc.org/dhcp
error: Uncaught Error: not-found:srcroot
        throw new Error("not-found:srcroot");
              ^
    at file:///opt/tea.xyz/src/v0.11.4/src/hooks/useVirtualEnv.ts:34:15
    at useVirtualEnv (file:///opt/tea.xyz/src/v0.11.4/src/hooks/useVirtualEnv.ts:35:7)
    at abracadabra (file:///opt/tea.xyz/src/v0.11.4/src/app.exec.ts:142:25)
    at async exec (file:///opt/tea.xyz/src/v0.11.4/src/app.exec.ts:12:57)
    at async file:///opt/tea.xyz/src/v0.11.4/src/app.ts:29:9

Steps to recreate:

git clone https://github.com/magnusviri/pantry.magnusviri
cd pantry.magnusviri
docker build -t tea .
docker run --rm -it -v $PWD/projects/isc.org:/opt/tea.xyz/var/pantry/projects/isc.org tea

In the container this produces the above error.

TEA_PREFIX=/opt /opt/tea.xyz/var/pantry/scripts/build.ts isc.org/dhcp

This works more.

TEA_DIR=/opt/tea.xyz/var/pantry TEA_PREFIX=/opt /opt/tea.xyz/var/pantry/scripts/build.ts isc.org/dhcp

It produces this error.

tea: installed: /opt/gnu.org/tar/v1.34.0
tea: installed: /opt/tukaani.org/xz/v5.2.7
tea: installed: /opt/sourceware.org/bzip2/v1.0.8
tea: installed: /opt/deno.land/v1.27.0
error: Unable to load 'file:///opt/tea.xyz/var/pantry/import-map.json' import map

Caused by:
    No such file or directory (os error 2)

Debugging:

# ls -l /opt/tea.xyz/var/pantry/import-map.json
# lrwxrwxrwx 1 root root 22 Nov  3 18:11 /opt/tea.xyz/var/pantry/import-map.json -> ../cli/import-map.json
# find /opt/ -name cli
# find /opt/ -name import-map.json
/opt/tea.xyz/var/pantry/import-map.json
# ls -l /opt/tea.xyz/var/pantry/import-map.json
lrwxrwxrwx 1 root root 22 Nov  3 18:11 /opt/tea.xyz/var/pantry/import-map.json -> ../cli/import-map.json

If I put the cli in the project directory and launch the container like this:

docker run --rm -it -v $PWD/projects/isc.org:/opt/tea.xyz/var/pantry/projects/isc.org -v $PWD/cli:/opt/tea.xyz/var/cli tea

then

TEA_DIR=/opt/tea.xyz/var/pantry TEA_PREFIX=/opt /opt/tea.xyz/var/pantry/scripts/build.ts isc.org/dhcp

produces this error:

error: Uncaught (in promise) Error
  throw new Error(message)
        ^
    at panic (file:///opt/tea.xyz/var/pantry/src/utils/index.ts:246:9)
    at file:///opt/tea.xyz/var/pantry/src/hooks/usePantry.ts:214:42
    at Array.map (<anonymous>)
    at getVersions (file:///opt/tea.xyz/var/pantry/src/hooks/usePantry.ts:213:21)
    at async Object.resolve (file:///opt/tea.xyz/var/pantry/src/hooks/usePantry.ts:36:20)
    at async file:///opt/tea.xyz/var/pantry/scripts/build.ts:45:15

At this point it's a little over my head.

Don't run impossible actions for external contributors

Specifically, the staging logic cannot run, since it requires internal secrets. This means no reusable artifacts on merge. But, of course, it's a security issue to do otherwise. Disable those flows if the secrets are empty; consider other options for build-on-merge (new-version.yml if nothing in the staging bucket?)

disable `deno upgrade`

  • well in fact, make it say do tea -S +deno.land (command not written).
  • make the message deno outputs† show the above command instead of deno upgrade

†A new release of Deno is available: 1.27.1 → 1.27.2 Run deno upgrade to install it.

Note that this is often not enjoyed by the end products in question, however we don’t want users breaking their installs by in-place upgrading tooling.

Future

Extend to every tool that does this.

1.7 version changed to 1.7.0

Here's the relevant parts of package.yml:

distributable:
  url: http://www.catb.org/~esr/wumpus/wumpus-{{version}}.tar.gz
  strip-components: 1

versions:
  - 1.7

Here's what happens when I try to build.

downloading
error: Uncaught Error: 404: http://www.catb.org/~esr/wumpus/wumpus-1.7.0.tar.gz

The url isn't http://www.catb.org/~esr/wumpus/wumpus-1.7.0.tar.gz, it's http://www.catb.org/~esr/wumpus/wumpus-1.7.tar.gz.

Yes, this is a really important package. Don't ask me why.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.