{"id":22700262,"url":"https://github.com/simp/rubygem-simp-release-tools","last_synced_at":"2025-03-29T19:11:06.562Z","repository":{"id":138316314,"uuid":"67633948","full_name":"simp/rubygem-simp-release-tools","owner":"simp","description":"Release tools for SIMP","archived":false,"fork":false,"pushed_at":"2016-09-08T16:51:30.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":15,"default_branch":"master","last_synced_at":"2023-03-11T07:28:36.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-09-07T18:42:46.000Z","updated_at":"2020-08-07T22:07:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"2228ebb6-9814-4d3c-bfcd-1700cf9fc290","html_url":"https://github.com/simp/rubygem-simp-release-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Frubygem-simp-release-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Frubygem-simp-release-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Frubygem-simp-release-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Frubygem-simp-release-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simp","download_url":"https://codeload.github.com/simp/rubygem-simp-release-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246230542,"owners_count":20744349,"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":"2024-12-10T06:10:44.682Z","updated_at":"2025-03-29T19:11:06.536Z","avatar_url":"https://github.com/simp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simp::Release::Tools\n\n\n* [Installation](#installation)\n\t* [OS Prerequisites](#os-prerequisites)\n* [Usage](#usage)\n\t* [`package`](#package)\n\t\t* [`package record`](#package-record)\n\t\t* [`package changelog`](#package-changelog)\n* [Development](#development)\n* [Contributing](#contributing)\n\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'simp-release-tools'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install simp-release-tools\n\n### OS Prerequisites\n\nThe `package changelog` command relies on the command-line executable **rpmdev-vercmp**.  On EL/Fedora systems, this is provided by the `rpmdevtools` package.  To install these tools:\n\n```bash\n# From EL6/EL7\nsudo yum install -y rpmdevtools\n\n# From Fedora\nsudo dnf install -y rpmdevtools\n```\n\n\n## Usage\n\n### `package`\n\nThe `simp-release package COMMAND` commands can help generate the **RPM Updates** section of the [simp-core](https://github.com/simp/simp-core) `CHANGELOG.rst`.\n\n1. Mount the ISO of the previous SIMP release and record its contents: `simp-release package record simp-core/SIMP_ISO_STAGING/CentOS6.8-x86_64/`\n\n2. Just after building the your latest release Candidate, run `simp-release package record PATH/TO/SIMP_ISO_STAGING/OS_DIRECTORY/`\n\n3. Generate the \n\n\n#### `package record`\nRecording an RPM manifest after building an ISO from [simp-core](https://github.com/simp/simp-core):\n\n```bash\nsimp-release package record simp-core/SIMP_ISO_STAGING/CentOS6.8-x86_64/\n```\nRecording RPM manifest from a mounted ISO\n\n```bash\nsimp-release package record /var/run/media/username/SIMP-4.2.0-2/\n```\n\n\n#### `package changelog`\n\nGenerating a changelog RPM Updates table using two recorded RPM manifests:\n\n```bash\nsimp-release package changelog -S -f out-5.1.X.rst \\\n   ISO_RPMs_VDD_for_SIMP-5.1.0-3.yaml ISO_RPMs_VDD_for_SIMP-5.1.0-4.Alpha_20160902-1230.yaml\n\n```\n\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/op-ct/simp-release-tools.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Frubygem-simp-release-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimp%2Frubygem-simp-release-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Frubygem-simp-release-tools/lists"}