Skip to content

Commit e6024e3

Browse files
fix(build): fixed dependencies versioning and added git cliff changelog
1 parent 83b0ff0 commit e6024e3

File tree

4 files changed

+602
-1
lines changed

4 files changed

+602
-1
lines changed

changelog.md

+142
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [1.5.2] - 2025-03-16
6+
7+
### ⚙️ Miscellaneous Tasks
8+
9+
- *(build)* Pyproject dep fix
10+
- *(version)* Updated 1.5.2
11+
12+
## [1.5.1] - 2025-03-16
13+
14+
### 🚀 Features
15+
16+
- *(build)* Pyproject initial setup
17+
18+
## [ls] - 2025-03-16
19+
20+
### 🚀 Features
21+
22+
- *(modulemanager)* Scaffold on this feature
23+
- *(module manager)* Now this works with existing file
24+
- *(project)* Added logger and .env support
25+
- *(commitcli)* Version on cli
26+
- *(modules)* New get commit id helper
27+
- *(comitcli)* Added docker to test old python version
28+
29+
### 🐛 Bug Fixes
30+
31+
- *(module manager)* Deleted bad code
32+
- *(module manager)* Forgotten code
33+
- *(module manager)* Requirements files
34+
- *(cimmitcli)* Fixed multi type anotations to work on old python
35+
- *(commitcli)* Small fix in file
36+
- *(commitcli)* Support on optional questions
37+
- *(commitcli)* Missing files
38+
- *(commitcli)* Fixed bug on non existing module file
39+
- *(commitcli)* Double type hint deleted to make it compatible with < 3.10
40+
- *(packages)* Small typos
41+
42+
### 💼 Other
43+
44+
- *(module manager)* Xdxd
45+
- *(commitcli)* New beta version
46+
- *(commitcli)* Version update
47+
- *(make)* Updated to use with nodemon
48+
- *(requiremts)* Added pymongo
49+
- *(requiremts)* Added pymongo
50+
- *(comitcli)* Added docker command to enter container
51+
- *(build)* Removed old script
52+
- *(packages)* Updated to consider new debian restriction
53+
54+
### 📚 Documentation
55+
56+
- *(readme)* Updated readme
57+
58+
### ⚙️ Miscellaneous Tasks
59+
60+
- *(readme)* Link to pypi
61+
- *(module manager)* Updates, wip
62+
- *(config manager)* Added module manager
63+
- *(config manager)* WIP on preselected answers
64+
- *(preselectedmodules)* Wip
65+
- *(module manager)* Module load in file now works on happy path
66+
- *(module manager)* Module now works with a existing list
67+
- *(module manager)* Writing function is working
68+
- *(module manager)* File writing works
69+
- *(aaa)* Ddd
70+
- *(module manager)* Added code to handle empty states
71+
- *(module manager)* Updated inquirer and filename
72+
- *(commitcli)* Wip on getting version (not working)
73+
- *(commitcli)* Updated module preselection order
74+
- *(commitcli)* Added makefile and wip on new features
75+
- *(module manager)* Wip on repository pattern for modules
76+
- *(commitcli)* Wip on new module provider
77+
- *(commitcli)* Some fixes on the local file configuration all is working
78+
- *(commitcli)* Validations now are first
79+
- *(commitcli)* Some final clean up
80+
- *(commitcli)* Ctr+c handling
81+
- *(commitcli)* Bad code
82+
- *(version)* Added a new patch version
83+
- *(commitcli)* Dependency update and new version ready
84+
- *(version)* New version tag until waiting a new feature to release
85+
- *(modules)* Updated code to start using repository
86+
- *(modules)* Updated, mongo get all is working
87+
- *(modules)* Progress on new db way
88+
- *(modules)* Catching id prepare the rest of the code to work with this id
89+
- *(commitcli)* Goldpath working
90+
- *(modules)* Updated to work with repository
91+
- *(repository)* Updated to work with mongo
92+
- *(modules)* Version update and db name added
93+
- *(modules)* Added rc template
94+
- *(comitcli)* Updated get id func
95+
- *(comitcli)* Updated get id func
96+
- *(comitcli)* Deleted old code
97+
- *(comitcli)* Updated mongo
98+
- *(comitcli)* Deleted bad code
99+
- *(comitcli)* Order in find
100+
- *(comitcli)* Update on find
101+
- *(comitcli)* Order in mongo and fixed dates
102+
- *(comitcli)* Updated modules to allow descriptions in mongo
103+
- *(comitcli)* Updated modules description in prompt
104+
- *(comitcli)* Format update
105+
- *(packages)* Removed distutils
106+
- *(packages)* Removed deprecated code
107+
- *(packages)* Updated version, renamed readme
108+
109+
## [1.2.1] - 2022-04-28
110+
111+
### ⚙️ Miscellaneous Tasks
112+
113+
- *(adminscript)* Added clean command
114+
- *(version)* Version update with little dependency fix
115+
116+
## [1.2.0] - 2022-04-28
117+
118+
### 🚀 Features
119+
120+
- *(commitcli)* Args support
121+
122+
### ⚙️ Miscellaneous Tasks
123+
124+
- *(configmanager)* Config changes to avoid optionals
125+
- *(commitcli)* Clean up and test folder for unittesting
126+
- *(commitcli)* Clean up
127+
- *(commitcli)* Updated version and readme
128+
129+
## [1.1.0] - 2021-01-18
130+
131+
### 🚀 Features
132+
133+
- New file
134+
135+
### ⚙️ Miscellaneous Tasks
136+
137+
- *(commit message)* Format structure
138+
- *(commit message)* Text in the prompt
139+
- *(root)* Useless file
140+
- *(readme,setup)* Some updates for the new version
141+
142+
<!-- generated by git-cliff -->

cliff.toml

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# git-cliff ~ default configuration file
2+
# https://git-cliff.org/docs/configuration
3+
#
4+
# Lines starting with "#" are comments.
5+
# Configuration options are organized into tables and keys.
6+
# See documentation for more information on available options.
7+
8+
[changelog]
9+
# template for the changelog header
10+
header = """
11+
# Changelog\n
12+
All notable changes to this project will be documented in this file.\n
13+
"""
14+
# template for the changelog body
15+
# https://keats.github.io/tera/docs/#introduction
16+
body = """
17+
{% if version %}\
18+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
19+
{% else %}\
20+
## [unreleased]
21+
{% endif %}\
22+
{% for group, commits in commits | group_by(attribute="group") %}
23+
### {{ group | striptags | trim | upper_first }}
24+
{% for commit in commits %}
25+
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
26+
{% if commit.breaking %}[**breaking**] {% endif %}\
27+
{{ commit.message | upper_first }}\
28+
{% endfor %}
29+
{% endfor %}\n
30+
"""
31+
# template for the changelog footer
32+
footer = """
33+
<!-- generated by git-cliff -->
34+
"""
35+
# remove the leading and trailing s
36+
trim = true
37+
# postprocessors
38+
postprocessors = [
39+
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
40+
]
41+
# render body even when there are no releases to process
42+
# render_always = true
43+
# output file path
44+
# output = "test.md"
45+
46+
[git]
47+
# parse the commits based on https://www.conventionalcommits.org
48+
conventional_commits = true
49+
# filter out the commits that are not conventional
50+
filter_unconventional = true
51+
# process each line of a commit as an individual commit
52+
split_commits = false
53+
# regex for preprocessing the commit messages
54+
commit_preprocessors = [
55+
# Replace issue numbers
56+
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
57+
# Check spelling of the commit with https://github.com/crate-ci/typos
58+
# If the spelling is incorrect, it will be automatically fixed.
59+
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
60+
]
61+
# regex for parsing and grouping commits
62+
commit_parsers = [
63+
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
64+
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
65+
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
66+
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
67+
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
68+
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
69+
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
70+
{ message = "^chore\\(release\\): prepare for", skip = true },
71+
{ message = "^chore\\(deps.*\\)", skip = true },
72+
{ message = "^chore\\(pr\\)", skip = true },
73+
{ message = "^chore\\(pull\\)", skip = true },
74+
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
75+
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
76+
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
77+
{ message = ".*", group = "<!-- 10 -->💼 Other" },
78+
]
79+
# filter out the commits that are not matched by commit parsers
80+
filter_commits = false
81+
# sort the tags topologically
82+
topo_order = false
83+
# sort the commits inside sections by oldest/newest order
84+
sort_commits = "oldest"

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies = [
1010
'click',
1111
'loguru',
1212
'pendulum',
13-
'pygit2',
13+
'pygit2==1.13.0',
1414
'pymongo',
1515
'python-dotenv'
1616
]

0 commit comments

Comments
 (0)