Skip to content

Commit

Permalink
Introduce Configuration file, Support Custom Channels (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Zwerschke <[email protected]>
  • Loading branch information
ytausch and pavelzw authored Oct 29, 2024
1 parent 440cd24 commit 1a45f2d
Show file tree
Hide file tree
Showing 22 changed files with 4,143 additions and 1,231 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
push:
branches: [main]
pull_request:

jobs:
check-schema-changes:
name: Check for Schema Changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1
- name: Regenerate the schema
run: pixi run schema
- name: Check for schema changes
run: |
git diff --exit-code
if [ $? -eq 1 ]
then
echo "::error::The schema is out of date. Please run 'pixi run schema' and commit the changes."
exit 1
fi
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,5 @@ cython_debug/

# Prefix pixi envs
.pixi/

.streamlit/secrets.toml
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# conda-metadata-app
A streamlit app to query metadata from conda packages
A streamlit app to query metadata from conda packages.

> [!TIP]
> A public instance of this app is available at [**conda-metadata-app.streamlit.app**](https://conda-metadata-app.streamlit.app).
![Main Screenshot](docs/assets/main_screenshot_dark.png#gh-dark-mode-only)
![Main Screenshot](docs/assets/main_screenshot_light.png#gh-light-mode-only)

## Development
Use `pixi run dev` to run the app in development mode, and `pixi run deploy` to run a production version of the app.

If you modified the configuration schema (see below), use `pixi run schema` to update the schema.

## Custom Configuration

Refer to the [Configuration Documentation](docs/configuration.md) for more information on how to customize the app.
Loading

0 comments on commit 1a45f2d

Please sign in to comment.