{"id":24311712,"url":"https://github.com/hadim/feedrattler","last_synced_at":"2025-04-11T22:08:12.348Z","repository":{"id":272807064,"uuid":"917782089","full_name":"hadim/feedrattler","owner":"hadim","description":"Convert conda-forge feedstock to rattler-build","archived":false,"fork":false,"pushed_at":"2025-04-07T10:58:27.000Z","size":1907,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T22:08:02.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hadim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-16T16:28:46.000Z","updated_at":"2025-04-07T10:58:07.000Z","dependencies_parsed_at":"2025-01-16T19:13:55.364Z","dependency_job_id":"7589b592-470e-4446-9060-075218eb0aa3","html_url":"https://github.com/hadim/feedrattler","commit_stats":null,"previous_names":["hadim/feedrattler"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadim%2Ffeedrattler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadim%2Ffeedrattler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadim%2Ffeedrattler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadim%2Ffeedrattler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hadim","download_url":"https://codeload.github.com/hadim/feedrattler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487713,"owners_count":21112191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-17T07:14:14.913Z","updated_at":"2025-04-11T22:08:12.332Z","avatar_url":"https://github.com/hadim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `feedrattler` 🐍\n\n[release-badge]: https://img.shields.io/github/v/release/hadim/feedrattler?logo=github\n[conda-badge]: https://anaconda.org/conda-forge/feedrattler/badges/version.svg?cache-control=no-cache\n[conda-downloads-badge]: https://anaconda.org/conda-forge/feedrattler/badges/downloads.svg?cache-control=no-cache\n[test-badge]: https://github.com/hadim/feedrattler/actions/workflows/test.yml/badge.svg?branch=main\n[lint-badge]: https://github.com/hadim/feedrattler/actions/workflows/lint.yml/badge.svg?branch=main\n\n[![GitHub Release][release-badge]](https://github.com/hadim/feedrattler/releases)\n[![Conda Package][conda-badge]](https://anaconda.org/conda-forge/feedrattler/)\n[![GitHub Downloads][conda-downloads-badge]](https://anaconda.org/conda-forge/feedrattler/)\n[![Test CI][test-badge]](https://github.com/hadim/feedrattler/actions/workflows/test.yml)\n[![Lint CI][lint-badge]](https://github.com/hadim/feedrattler/actions/workflows/lint.yml)\n\nConvert conda-forge feedstock to rattler-build.\n\n\u003e [!IMPORTANT]\n\u003e This project uses [Conda Recipe Manager (CRM)](https://github.com/conda-incubator/conda-recipe-manager) to upgrade V0 (`meta.yaml`) recipe files to the new V1 (`recipe.yaml`) files.\n\u003e If you run into issues when it comes to upgrading to the `recipe.yaml` file specifically, **please consult the list of open [CRM Issues](https://github.com/conda-incubator/conda-recipe-manager/issues)** and submit a new ticket if you don't see an existing issue that describes your problem.\n\n## Usage 🚀\n\nThe below command will convert the feedstock `https://github.com/conda-forge/my-awesome-package-feedstock` to a **v1 recipe** using [`rattler-build`](https://rattler.build). The converted branch will be pushed to the **`gh_user` fork** of the feedstock (`https://github.com/gh_user/my-awesome-package-feedstock`) (it will be created if it does not exist).\n\n```bash\npixi exec feedrattler my-awesome-package-feedstock\n```\n\nCredentials for the github API will either be taken from the `GITHUB_TOKEN` environment variable.\nAlternatively, if you have the official [`gh`](https://cli.github.com/) CLI installed and configured credentials will be taken from there.\n\nIf you would rather run without GitHub API access, ensure you already have a fork on the feedstock.\n\nThe package is also available as a conda package:\n\n```bash\nconda install -c conda-forge feedrattler\n# or\nconda install -c conda-forge feedrattler\n# or\npixi add feedrattler\n```\n\n## Options ⚙️\n\n\u003c!-- Generate and edit with `pixi run typer feedrattler.cli utils docs --name feedrattler` --\u003e\n\nUse `feedrattler --help` to see all available options.\n\n```console\nfeedrattler [OPTIONS] FEEDSTOCK_NAME [GITHUB_USERNAME]\n```\n\n**Arguments**:\n\n- `FEEDSTOCK_NAME`: 📦 The name of the feedstock repository. [required]\n- `[GITHUB_USERNAME]`: 👤 The GitHub username or organization that owns the feedstock.\n\n**Options**:\n\n- `--use-pixi / --no-use-pixi`: 🚀 Add `pixi` to the conda-forge configuration `conda_install_tool` to manage the conda environment. [default: use-pixi]\n- `--local-clone-dir TEXT`: 📁 Path to a local clone of the feedstock repository. A temporary dir will be created if not set.\n- `--local-clone-dir-force-erase / --no-local-clone-dir-force-erase`: 💥 Force erase the local clone directory if it exists. [default: no-local-clone-dir-force-erase]\n- `--git-rev TEXT`: 📌 The git SHA to clone the feedstock. The default branch HEAD is used when not set.\n- `--branch-name TEXT`: 🌿 The name of the branch to create for the converted recipe. [default: convert_feedstock_to_v1_recipe_format]\n- `--rerender / --no-rerender`: 🔄 Whether to re-render the feedstock after conversion. [default: rerender]\n- `--draft-pr / --no-draft-pr`: 📝 Whether to create a draft pull request or not. [default: draft-pr]\n- `--enable-rerender-logs / --no-enable-rerender-logs`: 📝 Enable detailed logs from the re-rendering process. [default: no-enable-rerender-logs]\n- `--log-level TEXT`: 🚦 The log level to use. Options: DEBUG, INFO, WARNING, ERROR, CRITICAL [default: INFO]\n- `--github-token TEXT`: 🔑 GitHub token. Defaults to the GITHUB_TOKEN environment variable or gh cli. [env var: GITHUB_TOKEN]\n- `--dotenv TEXT`: 📄 Path to a .env file containing environment variables.\n- `--clone-type [auto|ssh|https]`: 🐑 The type of clone to use (ssh or https). [default: auto]\n- `--version`: Show the version of the application.\n- `--install-completion`: Install completion for the current shell.\n- `--show-completion`: Show completion for the current shell, to copy it or customize the installation.\n- `--help`: Show this message and exit.\n\n## Development 🛠️\n\nYou need to use [pixi](https://pixi.sh).\n\n```bash\n# Execute feedrattler CLI\npixi run feedrattler\n\n# Run tests\npixi run tests\n\n# Format code\npixi run format\n\n# Lint code\npixi run lint\n\n# Lint and format code\npixi run lint-format\n```\n\n## Release 🚢\n\nThe package is **not** released on PyPi but only on conda-forge at \u003chttps://github.com/conda-forge/feedrattler-feedstock\u003e.\n\nTo cut a new release:\n\n- Trigger [the `release` workflow on the main branch](https://github.com/hadim/feedrattler/actions/workflows/release.yaml).\n- A new GitHub Release will be created with the new version.\n- The conda-forge bot will create a PR to update the [feedstock](https://github.com/conda-forge/feedrattler-feedstock).\n- Once the conda-forge PR merged, the new conda version will be available.\n\n\u003c!--- dummy edit ---\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadim%2Ffeedrattler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadim%2Ffeedrattler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadim%2Ffeedrattler/lists"}