{"id":28252645,"url":"https://github.com/iptoux/genchlg","last_synced_at":"2025-10-18T06:05:01.645Z","repository":{"id":213438027,"uuid":"577974915","full_name":"iptoux/genchlg","owner":"iptoux","description":"This is an bash wrapper for changelog-generator, to automatic create, commit, push, an # CHANGELOG.md from your git repo commits.","archived":false,"fork":false,"pushed_at":"2022-12-14T21:04:45.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T22:38:55.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iptoux.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}},"created_at":"2022-12-14T00:38:36.000Z","updated_at":"2022-12-14T20:26:18.000Z","dependencies_parsed_at":"2023-12-21T01:51:55.975Z","dependency_job_id":"4a1942fe-0d54-420a-bf2b-476160f82e10","html_url":"https://github.com/iptoux/genchlg","commit_stats":null,"previous_names":["iptoux/genchlg"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/iptoux/genchlg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptoux%2Fgenchlg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptoux%2Fgenchlg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptoux%2Fgenchlg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptoux%2Fgenchlg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iptoux","download_url":"https://codeload.github.com/iptoux/genchlg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptoux%2Fgenchlg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002373,"owners_count":26083356,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-05-19T16:16:15.659Z","updated_at":"2025-10-10T00:12:36.452Z","avatar_url":"https://github.com/iptoux.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# genchlg\n\nThis is an bash wrapper for [changelog-generator](https://github.com/lob/generate-changelog), to automatic create, commit, push, an CHANGELOG.md from your git repo commits.\n\n\u003ePlease, feel free to report issues/bugs to github. You can also leave any suggestion to improve the script.\n\n## Why?\n\nDuring the development of [bash_error_lib](https://github.com/iptoux/bash_error_lib), i missed an tool to create an CHANGELOG.md for my project. On **GitHub** i found the repo from [@lob](https://github.com/lob). He has the **changelog-generator** there. This is my choice as base, but there is no \"automatic\" control in bash.\n\n\n## Usage?\n\n#### Download/Clone/Install/Setup\n\n```\nmkdir gittmp \u0026\u0026 cd gittmp\ngit clone https://github.com/iptoux/genchlg.git\n```\nNow, copy `genchlg.sh` **to your git project** folder, and make it \"executable\".\n\n```\ncp genchlg.sh /path/to/your/git/repo\nchmod +x /path/to/your/git/repogenchlg.sh\n```\nDone! You can now run the command `./genchlg.sh`.\n\n#### Run command in your git repo\n\n```\ncd /path/to/your/git/repo\n./genchlg.sh\n```\n\n## Important information's\n\n#### selected parts copied from [@lob's repo](https://github.com/lob/generate-changelog), because you need this information to use this wrapper successfully.\n\n\u003eTo use this module, your commit messages have to be in this format:\n\u003etype(category): description [flags]\n\u003e\n\u003e- breaking build ci chore docs feat fix other perf refactor revert style test\n\u003e\n\u003eWhere flags is an optional comma-separated list of one or more of \n\u003ethe following (must be surrounded in square brackets):\n\u003e\n\u003ebreaking: alters type to be a breaking change\n\u003e\n\u003eAnd category can be anything of your choice. If you use a type not \n\u003efound in the list (but it still follows the same format of the \n\u003emessage), it'll be grouped under other.\n\n---\n\n## Screens/Output\n\nImages not yet included, the output should somthing like the following.\n\n#### CLI\n\n```\niptoux@2040:~/gits/genchlg$ ./genchlg.sh \nCHANGELOG.md gen.\n──────────────────────────────────────────────────\n[-\u003e] Checking depencies: done.\n[-\u003e] CHANGELOG.md - Type/Mode?\n[-\u003e] [1:Major (+.x.x)] // [2:Minor (x.+.x)] // [3:Patch (x.x.+)]\n[-\u003e] Select: 1\n[-\u003e] Shure? (y/n): y\n\nGenerate/Update an Major (+.x.x) CHANGELOG.md in your repository.\n──────────────────────────────────────────────────\n[-\u003e] Generate CHANGELOG.md: done.\n[-\u003e] Commiting CHANGELOG.md: done.\n[-\u003e] StepUp version/set tags on repo: done.\n[-\u003e] Auto-push disabled. You can enable it by setting false (true) in head of this file.\n[-\u003e] Push it to git? (y/n): y\n[-\u003e] Select y/Y -\u003e pushing to git: done.\n\nFinish, all steps done!\n\niptoux@2040:~/gits/genchlg$ \n```\n\n(img1)\n\n\n## @Todo\n\n- [ ] Adding script auto-update.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiptoux%2Fgenchlg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiptoux%2Fgenchlg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiptoux%2Fgenchlg/lists"}