{"id":16149954,"url":"https://github.com/aeyoll/wr","last_synced_at":"2025-10-23T16:50:35.006Z","repository":{"id":41334707,"uuid":"425450656","full_name":"aeyoll/wr","owner":"aeyoll","description":"A Rust tool to deploy websites with ease, using git-flow and Gitlab CI/CD.","archived":false,"fork":false,"pushed_at":"2025-03-09T18:46:35.000Z","size":252,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T23:03:35.733Z","etag":null,"topics":["ci-cd","deploy","deployment","git","git-flow","gitlab","release"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aeyoll.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":"2021-11-07T09:30:38.000Z","updated_at":"2025-03-09T18:46:36.000Z","dependencies_parsed_at":"2024-05-21T09:29:46.581Z","dependency_job_id":"f3e2a196-6fa1-4556-abd0-7ce26caea8ef","html_url":"https://github.com/aeyoll/wr","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeyoll%2Fwr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeyoll%2Fwr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeyoll%2Fwr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeyoll%2Fwr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeyoll","download_url":"https://codeload.github.com/aeyoll/wr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244281698,"owners_count":20427881,"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":["ci-cd","deploy","deployment","git","git-flow","gitlab","release"],"created_at":"2024-10-10T00:46:07.165Z","updated_at":"2025-10-23T16:50:34.988Z","avatar_url":"https://github.com/aeyoll.png","language":"Rust","readme":"# wr\n\n[![GitHub Actions workflow status](https://github.com/aeyoll/wr/workflows/ci/badge.svg)](https://github.com/aeyoll/wr/actions)\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Minimum rustc version](https://img.shields.io/badge/rustc-1.81.0+-lightgray.svg)](#rust-version-requirements)\n[![Conventional commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n\nA Rust tool to deploy websites with ease, using git-flow and Gitlab CI/CD.\n\nPhilosophy\n---\n\nWarning: personal opinion here.\n\nWhile git-flow is not trendy _at all_, it still has advantages over GitHub flow for website deployment:\n\n- clear distinction between production and development environments\n- a strong usage of tags, providing an easy rollback mechanism\n- a good convention for branch names\n\nThis tool is only intended to help to create and deploy new releases. Handling gitflow's features, hotfixes and bugfixes are (and will) not be covered.\n\nInstallation\n---\n\nTo install wr, use the install-script and add `$HOME/.wr/bin` to your `$PATH`.\n\n```shell\ncurl -fsSL https://raw.githubusercontent.com/aeyoll/wr/main/install.sh | bash\n```\n\nEnvironment variables:\n\n- `WR_INSTALL` - Override install directory (e.g., `/usr/local`)\n- `WR_TARGET` - Override target platform (e.g., `x86_64-unknown-linux-musl`)\n\nConfiguration\n----\n\nSetup some environment variables:\n\n```sh\nexport GITLAB_HOST=gitlab.com # default to gitlab.com, but it can be a private instance\nexport GITLAB_TOKEN=glpat-012345678012345678 # GitLab access token with \"api\" rights\n```\n\nUsage\n---\n\n```\nUSAGE:\n    wr [FLAGS] [OPTIONS]\n\nFLAGS:\n        --debug      Print additional debug information\n    -d, --deploy     Launch a deploy job after the release\n    -f, --force      Allow to make a release even if the remote is up to date\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -e, --environment \u003cenvironment\u003e    Define the deploy environment (default: \"Production\", available: \"Production\",\n                                       \"Staging\")\n    -s, --semver_type \u003csemver_type\u003e    Define how to increment the version number (default: \"Patch\", available: \"Patch\",\n                                       \"Minor\", \"Major\")\n```\n\nExamples:\n---\n\nCreate a staging release and deploy it:\n\n```sh\nwr --environment=staging --deploy\n```\n\nCreate a production release, with logger level set at \"debug\", incrementing to the next minor version:\n\n```sh\nwr --semver_type=minor --debug\nwr --environment=production --semver_type=minor --debug\n# Those two lines are equivalent\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeyoll%2Fwr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeyoll%2Fwr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeyoll%2Fwr/lists"}