# ERA (**E**asy **R**elease **A**utomation)
Imagine reducing the time and complexity of managing multiple software releases to a single click.
That's exactly what the ERA tool does - it streamlines the tagging of multiple interdependent
repositories by integrating ERA into your CI pipeline or your local development environment.
This robust automation not only **saves us over four hours per release** but also simplifies our
release process, crucial for software project with frequent monthly updates.
ERA is an open source Python tool crafted to enhance efficiency and convenience in handling multiple
repository tags.
## Table of Contents
- [ERA (**E**asy **R**elease **A**utomation)](#era-easy-release-automation)
- [Table of Contents](#table-of-contents)
- [Requirements](#requirements)
- [Quick Start Guide](#quick-start-guide)
- [What is ERA?](#what-is-era)
- [What is ERA not?](#what-is-era-not)
- [ERA Release With Continuous Integration](#era-release-with-continuous-integration)
- [Getting Started](#getting-started)
- [Additional Documentation](#additional-documentation)
- [FAQ](#faq)
- [What Should I Know Before Using ERA?](#what-should-i-know-before-using-era)
- [Does ERA Natively Run On Windows?](#does-era-natively-run-on-windows)
## Requirements
- Windows Subsystem for Linux (WSL2)
- Ubuntu Version 20.04 LTS or higher
- Python Version 3.9 or higher
## Quick Start Guide
Explore the [ERA Getting Started For End Users](doc/getting_started_end_user.md).
This hands-on tutorial will guide you through releasing ERA and then applying it to your own Git
project, all within approximately one hour.
## What is ERA?
- ERA provides a `easy-release-automation` CLI entry point to release multiple repositories in your project.
- ERA configures the release process for modification, validation and tagging according to a lightweight `release-config.yml` (see [Release-Config Example](./era/release-config.yml)).
- During the release process:
- ERA offers repository validation steps before a repository is tagged.
- ERA offers repository modification steps before and after a repository is tagged.
- ERA tags the repositories.
- ERA pushes the updated and tagged branches to the remote repository.
- ERA offers an existing set of versatile modification and validation plugins.
- ERA offers customization by enabling you to create your own modification and validation plugins to meet specific requirements.
ERA automatically generates the following **three commit messages for each repository during the release process**:
```bash
Main branch (Merge Commit from stable into main)
│
├─ chore: :wastebasket: ERA: Preparation for merging back into main with the plugin(s): changelog_unreleased_setter
Stable branch (Commit for Tag 0.1.0)
│
├─ chore: :bookmark: ERA: Release-Commit for Version: 0.1.0
Stable branch (Commit for modification based on defined plugins in release-config.yml)
│
├─ chore: :white_check_mark: ERA: Modification with the plugin(s): changelog_version_updater, yaml_updater
│ and Validation with the plugin(s): validate_changelog
```
## What is ERA not?
ERA is not responsible for the following tasks:
1. Building and deploying a package from the source code.
2. Integrating manual testing during the release process.
3. Testing created packages on end-devices or in cloud environment.
## ERA Release With Continuous Integration
ERA is a practical tool that can be integrated into a Continuous Integration (CI) environment,
such as GitHub, GitLab, or Azure pipelines.
The following diagram illustrates a possible flow for integrating ERA into a CI pipeline within
the `Release With ERA` step to ensure smooth and consistent tagging:
```mermaid
graph LR
DevTeam(Dev Team) --> CodeRepo[Code Repository]
CodeRepo --> CI_CD_Pipeline[CI/CD Pipeline]
CI_CD_Pipeline --> BuildTests[Linting & Building & Testing]
BuildTests --> Release[Release With ERA]
Release --> Deployment[Deployment]
style Release fill:#00ACA9
```
**Diagram 1:** _ERA CI for Release Automation_
## Getting Started
- [ERA Project Integration Guide](./doc/project_integration.md)
- [ERA Getting Started For Developers](doc/getting_started_developer.md)
## Additional Documentation
- [How does ERA work?](./doc/overview.md)
- [Feature Matrix](./doc/features.md)
## FAQ
### What Should I Know Before Using ERA?
- Basics of using Git
- Basics of GitFlow
### Does ERA Natively Run On Windows?
ERA is primarily developed and used on Linux developer machines (see `scripts/setup-era.sh`) or in CI environment with Linux agents.
ERA operates in the following environments:
1. ERA is supported on Ubuntu 20.04 or higher and on WSL2.
2. ERA was tested on Ubuntu 20.04 and on WSL2 on Windows machines.
3. ERA is not tested on native Windows machines.
Raw data
{
"_id": null,
"home_page": null,
"name": "easy-release-automation",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "EasyReleaseAutomation, git, AutomatedModification, AutomatedTesting",
"author": null,
"author_email": "Claus Seibold <claus.seibold@ingenics-digital.com>, David Kauschke <david.kauschke@ingenics-digital.com>, Martin Lautenbacher <martin.lautenbacher@ingenics-digital.com>",
"download_url": "https://files.pythonhosted.org/packages/d8/08/4632ad1aacddca0a577611028594cea1da8e843a0da4970c3e95b9aa2a9f/easy_release_automation-0.1.0.tar.gz",
"platform": null,
"description": "# ERA (**E**asy **R**elease **A**utomation)\n\nImagine reducing the time and complexity of managing multiple software releases to a single click.\nThat's exactly what the ERA tool does - it streamlines the tagging of multiple interdependent\nrepositories by integrating ERA into your CI pipeline or your local development environment.\n\nThis robust automation not only **saves us over four hours per release** but also simplifies our\nrelease process, crucial for software project with frequent monthly updates.\n\nERA is an open source Python tool crafted to enhance efficiency and convenience in handling multiple\nrepository tags.\n\n## Table of Contents\n\n- [ERA (**E**asy **R**elease **A**utomation)](#era-easy-release-automation)\n - [Table of Contents](#table-of-contents)\n - [Requirements](#requirements)\n - [Quick Start Guide](#quick-start-guide)\n - [What is ERA?](#what-is-era)\n - [What is ERA not?](#what-is-era-not)\n - [ERA Release With Continuous Integration](#era-release-with-continuous-integration)\n - [Getting Started](#getting-started)\n - [Additional Documentation](#additional-documentation)\n - [FAQ](#faq)\n - [What Should I Know Before Using ERA?](#what-should-i-know-before-using-era)\n - [Does ERA Natively Run On Windows?](#does-era-natively-run-on-windows)\n\n## Requirements\n\n- Windows Subsystem for Linux (WSL2)\n- Ubuntu Version 20.04 LTS or higher\n- Python Version 3.9 or higher\n\n## Quick Start Guide\n\nExplore the [ERA Getting Started For End Users](doc/getting_started_end_user.md).\nThis hands-on tutorial will guide you through releasing ERA and then applying it to your own Git\nproject, all within approximately one hour.\n\n## What is ERA?\n\n- ERA provides a `easy-release-automation` CLI entry point to release multiple repositories in your project.\n- ERA configures the release process for modification, validation and tagging according to a lightweight `release-config.yml` (see [Release-Config Example](./era/release-config.yml)).\n- During the release process:\n - ERA offers repository validation steps before a repository is tagged.\n - ERA offers repository modification steps before and after a repository is tagged.\n - ERA tags the repositories.\n - ERA pushes the updated and tagged branches to the remote repository.\n- ERA offers an existing set of versatile modification and validation plugins.\n- ERA offers customization by enabling you to create your own modification and validation plugins to meet specific requirements.\n\nERA automatically generates the following **three commit messages for each repository during the release process**:\n\n```bash\n Main branch (Merge Commit from stable into main)\n \u2502\n \u251c\u2500 chore: :wastebasket: ERA: Preparation for merging back into main with the plugin(s): changelog_unreleased_setter\n\n Stable branch (Commit for Tag 0.1.0)\n \u2502\n \u251c\u2500 chore: :bookmark: ERA: Release-Commit for Version: 0.1.0\n\n Stable branch (Commit for modification based on defined plugins in release-config.yml)\n \u2502\n \u251c\u2500 chore: :white_check_mark: ERA: Modification with the plugin(s): changelog_version_updater, yaml_updater\n \u2502 and Validation with the plugin(s): validate_changelog \n```\n\n## What is ERA not?\n\nERA is not responsible for the following tasks:\n\n1. Building and deploying a package from the source code.\n2. Integrating manual testing during the release process.\n3. Testing created packages on end-devices or in cloud environment.\n\n## ERA Release With Continuous Integration\n\nERA is a practical tool that can be integrated into a Continuous Integration (CI) environment,\nsuch as GitHub, GitLab, or Azure pipelines.\nThe following diagram illustrates a possible flow for integrating ERA into a CI pipeline within\nthe `Release With ERA` step to ensure smooth and consistent tagging:\n\n```mermaid\ngraph LR\n DevTeam(Dev Team) --> CodeRepo[Code Repository]\n\n CodeRepo --> CI_CD_Pipeline[CI/CD Pipeline]\n CI_CD_Pipeline --> BuildTests[Linting & Building & Testing]\n BuildTests --> Release[Release With ERA]\n Release --> Deployment[Deployment]\n style Release fill:#00ACA9\n```\n\n**Diagram 1:** _ERA CI for Release Automation_\n\n## Getting Started\n\n- [ERA Project Integration Guide](./doc/project_integration.md)\n- [ERA Getting Started For Developers](doc/getting_started_developer.md)\n\n## Additional Documentation\n\n- [How does ERA work?](./doc/overview.md)\n- [Feature Matrix](./doc/features.md)\n\n## FAQ\n\n### What Should I Know Before Using ERA?\n\n- Basics of using Git\n- Basics of GitFlow\n\n### Does ERA Natively Run On Windows?\n\nERA is primarily developed and used on Linux developer machines (see `scripts/setup-era.sh`) or in CI environment with Linux agents.\n\nERA operates in the following environments:\n\n1. ERA is supported on Ubuntu 20.04 or higher and on WSL2.\n2. ERA was tested on Ubuntu 20.04 and on WSL2 on Windows machines.\n3. ERA is not tested on native Windows machines.\n",
"bugtrack_url": null,
"license": null,
"summary": "Easy-Release-Automation for Multi-Package-Versioning.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/IngenicsDigital/easy-release-automation",
"Issues": "https://github.com/IngenicsDigital/easy-release-automation/issues"
},
"split_keywords": [
"easyreleaseautomation",
" git",
" automatedmodification",
" automatedtesting"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d2bda4ab6fdd47993006a4256a5dc56508cc0387e611ccbf7f797f0749cf34d4",
"md5": "936ba25318cac57896ee935113ccf083",
"sha256": "ed84835bfb126f2d35e3764008a379ee866bee7f8e8f8607c1ef1d456f1ef376"
},
"downloads": -1,
"filename": "easy_release_automation-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "936ba25318cac57896ee935113ccf083",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 39397,
"upload_time": "2024-10-03T15:06:59",
"upload_time_iso_8601": "2024-10-03T15:06:59.435486Z",
"url": "https://files.pythonhosted.org/packages/d2/bd/a4ab6fdd47993006a4256a5dc56508cc0387e611ccbf7f797f0749cf34d4/easy_release_automation-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d8084632ad1aacddca0a577611028594cea1da8e843a0da4970c3e95b9aa2a9f",
"md5": "8efd488ed331c294c7f625e0ed4e3912",
"sha256": "86858e626b6e129f2e77383db1e02f08cddeb7ec554cbc0a1354f0cfc451d35c"
},
"downloads": -1,
"filename": "easy_release_automation-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "8efd488ed331c294c7f625e0ed4e3912",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 672141,
"upload_time": "2024-10-03T15:07:02",
"upload_time_iso_8601": "2024-10-03T15:07:02.478145Z",
"url": "https://files.pythonhosted.org/packages/d8/08/4632ad1aacddca0a577611028594cea1da8e843a0da4970c3e95b9aa2a9f/easy_release_automation-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-03 15:07:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "IngenicsDigital",
"github_project": "easy-release-automation",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "annotated-types",
"specs": [
[
"==",
"0.6.0"
]
]
},
{
"name": "build",
"specs": [
[
"==",
"1.2.2"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.1.7"
]
]
},
{
"name": "gitdb",
"specs": [
[
"==",
"4.0.10"
]
]
},
{
"name": "gitpython",
"specs": [
[
"==",
"3.1.43"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"24.1"
]
]
},
{
"name": "pip-tools",
"specs": [
[
"==",
"7.4.1"
]
]
},
{
"name": "pydantic",
"specs": [
[
"==",
"2.7.1"
]
]
},
{
"name": "pydantic-core",
"specs": [
[
"==",
"2.18.2"
]
]
},
{
"name": "pyproject-hooks",
"specs": [
[
"==",
"1.2.0"
]
]
},
{
"name": "pyyaml",
"specs": [
[
"==",
"6.0.1"
]
]
},
{
"name": "ruamel-yaml",
"specs": [
[
"==",
"0.18.6"
]
]
},
{
"name": "ruamel-yaml-clib",
"specs": [
[
"==",
"0.2.8"
]
]
},
{
"name": "smmap",
"specs": [
[
"==",
"5.0.1"
]
]
},
{
"name": "tomli",
"specs": [
[
"==",
"2.0.2"
]
]
},
{
"name": "tomlkit",
"specs": [
[
"==",
"0.12.5"
]
]
},
{
"name": "typing-extensions",
"specs": [
[
"==",
"4.11.0"
]
]
},
{
"name": "wheel",
"specs": [
[
"==",
"0.44.0"
]
]
}
],
"tox": true,
"lcname": "easy-release-automation"
}