jira-auto-tool 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +250 -2
- data/features/control_http_request_rate_limit.feature +1 -1
- data/lib/jira/auto/tool/version.rb +1 -1
- data/lib/tasks/version.rake +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10216d00bff952b0f764be5150489605b0835257b5cf2a7bc3e6bc0527ae5df2
|
|
4
|
+
data.tar.gz: 0bff2827284487e193514144646217815d5d179edf992b36267d3527585678e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 318110a62382739e49b26fbab45218dec7c7df8df9dfdb2504799edbaf1b4f4c9e5aecc43aec21c1f5df3a72454614f7f863895b80978336e2768be398342d20
|
|
7
|
+
data.tar.gz: 72dad5846292a289e58a5ae9990d876a7739024d0bcc70c6b5695dad4d842aee8ae8936f8b3cbf30db25bb3741c14ecc24e16f8f2aea2e0d13711e8101f0cd56
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,253 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
-
## [
|
|
3
|
+
## [1.3.0] - 2026-01-01 - Adding support for Jira API v3
|
|
4
|
+
|
|
5
|
+
- chore(dependencies): remove explicit Ruby version declaration in Gemfile
|
|
6
|
+
- chore(dependencies): update `Gemfile.lock` to include Ruby 3.4.8
|
|
7
|
+
- chore: add `.ruby-version` file with Ruby 3.4.8
|
|
8
|
+
- chore(build): make Ruby version dynamic based on `.ruby-version` file
|
|
9
|
+
- chore(gemspec): update required Ruby version to >= 3.4.8
|
|
10
|
+
- Bump jira-auto-tool to 1.3.0
|
|
11
|
+
- chore(dependencies): update `Gemfile.lock` to include `cgi` dependency for `jira-auto-tool`
|
|
12
|
+
- refactor(jira): enhance field handling, simplify method signatures, and add tests for improved API compatibility
|
|
13
|
+
- test(rate-limit): made the test more robust with data to query
|
|
14
|
+
- refactor(jira): improve compatibility across Jira API versions to support V3
|
|
15
|
+
- chore(gemspec): update required Ruby version to >= 3.4.7
|
|
16
|
+
|
|
17
|
+
## [1.2.2] - 2025-06-14
|
|
18
|
+
|
|
19
|
+
- Updated the gem versions
|
|
20
|
+
|
|
21
|
+
## [1.2.1] - 2025-05-10
|
|
22
|
+
|
|
23
|
+
- Update README and refine gemspec and code structure
|
|
24
|
+
- Add support for identifying and masking secret environment values
|
|
25
|
+
- Prevent creation of duplicate or anterior sprints.
|
|
26
|
+
- Update README with fixes and new example for sprint updates
|
|
27
|
+
- Improve error handling in EnvironmentLoader configuration parsing
|
|
28
|
+
|
|
29
|
+
## [1.2.0] - 2025-05-08
|
|
30
|
+
|
|
31
|
+
- Added support for in-process based Jira HTTP rate limiting to remove the need to setup Redis
|
|
32
|
+
- Rename rate limit environment variable for clarity
|
|
33
|
+
- Refactor README and example configs for clarity and consistency
|
|
34
|
+
- Refactor to rename and update rate-limited Jira client
|
|
35
|
+
|
|
36
|
+
## [1.1.3] - 2025-05-05
|
|
37
|
+
|
|
38
|
+
- Implementing disabling wrapper generation on Windows
|
|
39
|
+
- Updated the env example setting to reflect the dev environment setup
|
|
40
|
+
- Make sure the env values are set as strings
|
|
41
|
+
- Exclude .bat files from gem executables
|
|
42
|
+
- Preventing the concurrent feature scenarios execution
|
|
43
|
+
- Fixed sprint filtering expectations
|
|
44
|
+
|
|
45
|
+
## [1.1.2] - 2025-05-04
|
|
46
|
+
|
|
47
|
+
- Add version bump task to streamline version management
|
|
48
|
+
|
|
49
|
+
## [1.1.1] - 2025-05-04
|
|
50
|
+
|
|
51
|
+
- Refactor and standardize environment variable handling
|
|
52
|
+
- Bumped the Gemfile.lock spec to jira-auto-tool (1.1.0)
|
|
53
|
+
|
|
54
|
+
## [1.1.0] - 2025-05-03
|
|
55
|
+
|
|
56
|
+
- Implemented the ability to configure the environment via a YAML.ERB file.
|
|
57
|
+
|
|
58
|
+
## [1.0.0] - 2025-05-02
|
|
59
|
+
|
|
60
|
+
- Bump jira-auto-tool to 1.0.0
|
|
61
|
+
- Update README with correct gem name for 1.0.0 installation
|
|
62
|
+
- Made checking --board-list output expectations more robust
|
|
63
|
+
- Remove @wip tag from rename_sprints feature file
|
|
64
|
+
- Update jira-auto-tool to v0.1.1 and downgrade Bundler version
|
|
65
|
+
- Update gemspec with valid push host and include spec and features folders
|
|
66
|
+
|
|
67
|
+
## [0.1.1] - 2025-05-02
|
|
68
|
+
|
|
69
|
+
- Add detailed instructions and usage examples to README
|
|
70
|
+
- Improved integrated help (--help) with examples and more visible sections.
|
|
71
|
+
- Update board cache expiry period from one hour to one day
|
|
72
|
+
- Add `rb-readline` dependency and more robust Windows-specific gems handling
|
|
73
|
+
- Add `rb-readline` dependency and more robust Windows-specific gems handling
|
|
74
|
+
- Update non rate limited example expectation to cope with longer execution times
|
|
75
|
+
- Refactor option handling and add HTTP debugging functionality.
|
|
76
|
+
- Refactor options handling into a dedicated module
|
|
77
|
+
- Fixing Rubocop warnings with the Gems not being in alphabetical order in the Gemfile
|
|
78
|
+
- Allow camelCase or snake_case parameters for request pagination.
|
|
79
|
+
- Handle duplicate sprint names during renaming process
|
|
80
|
+
- Improve Rakefile task configuration and annotate failing tests
|
|
81
|
+
- Add support for quarterly and general sprint renaming
|
|
82
|
+
- Refactor Jira client initialization to use helper method
|
|
83
|
+
- Update Gemfile.lock with new dependencies and platform adjustments
|
|
84
|
+
- Add `workflow_dispatch` trigger to GitHub Actions
|
|
85
|
+
- Update Gemfile.lock dependencies to latest compatible versions
|
|
86
|
+
- Refactor Jira sprint fetching to use reusable pagination helper.
|
|
87
|
+
- JAT-60 - Add `--quarterly-sprint-rename` to replace `--sprint-rename`
|
|
88
|
+
- JAT-60 - Refactor sprint methods to use quarterly-specific naming
|
|
89
|
+
- Upgraded all gems including uri to fix CVE-2025-27221
|
|
90
|
+
- JAT-56 - Caching all board attributes to avoid request them one by one
|
|
91
|
+
- JAT-55 - Made sure aruba is setup before using it in a hook
|
|
92
|
+
- JAT-55 - Aruba tests are running in the sandbox (no more HOME pollution)
|
|
93
|
+
- JAT-52 - Moved the cache to be stored in the config directory.
|
|
94
|
+
- JAT-49 - Implemented persisting configuration to a file
|
|
95
|
+
- Added sub sections in the command line help for readibility
|
|
96
|
+
- JAT-46 - Implemented filtered board caching
|
|
97
|
+
- GitHub Actions - Limiting execution to Ruby 3.4.2
|
|
98
|
+
- GitrHub Action - Fixing incorrect ruby matrix syntax
|
|
99
|
+
- JAT-38 - Implemented --sprint-add=25.3.1,4
|
|
100
|
+
- Gem package can build successfully
|
|
101
|
+
- Gem package can build successfully
|
|
102
|
+
- JAT-32 - Adjust the end date of a sprint
|
|
103
|
+
- Handling missing team and generating a warning when no sprint prefix associated to a team
|
|
104
|
+
- Fixed missed test due to terminal-table behavior change
|
|
105
|
+
- Updated the gem versions
|
|
106
|
+
- Add pre-push hook to run rake tasks
|
|
107
|
+
- Now using the team names/values associated to the tickets to map
|
|
108
|
+
- Fixed improper timezone specification
|
|
109
|
+
- Attempting to fix differing encoding while executing sprint_spec.rb tests
|
|
110
|
+
- Configured RSpec to use UTF-8 for internal and external encoding
|
|
111
|
+
- Attempting to fix differing encoding while executing sprint_spec.rb tests
|
|
112
|
+
- Attempting to fix differing encoding while executing sprint_spec.rb tests
|
|
113
|
+
- Add UTF-8 encoding to sprint_spec.rb
|
|
114
|
+
- Dealing with sprints missing dates while aligning time in dates
|
|
115
|
+
- Implemented aligning time in sprints having start and end dates
|
|
116
|
+
- Fixing syntax error in GitHub Action workflow
|
|
117
|
+
- Added missing JIRA_PROJECT_KEY
|
|
118
|
+
- Fixing syntax error in GitHub workflow
|
|
119
|
+
- Dynamically setting environment variables
|
|
120
|
+
- Implemented --project-field-list
|
|
121
|
+
- Adjustted the rate limiter maximal time
|
|
122
|
+
- Fixed the logic of NextNameGenerator#pulling_sprint_into_previous_planning_interval?
|
|
123
|
+
- Added KeepSameNameGenerator to further simplify the renaming logic
|
|
124
|
+
- Refactoring to simplify next name generation
|
|
125
|
+
- Adjusted rate limiting expectations
|
|
126
|
+
- Added more NextNameGenerator tests
|
|
127
|
+
- Removed TODO which was done in previous commit
|
|
128
|
+
- Refactored to simplify the renamer next name generation
|
|
129
|
+
- SprintRenamer: more scenarios and fixed saving name issue
|
|
130
|
+
- Implemented the SprintRenamer logic.
|
|
131
|
+
- Now accepting methods up to 20 lines
|
|
132
|
+
- --sprint-list now expects the sprints to be sorted
|
|
133
|
+
- Fixed matching the output of --sprint-prefix-list
|
|
134
|
+
- Request rate limiting environment variable driven and disabled by default.
|
|
135
|
+
- Added renaming sprint feature early draft
|
|
136
|
+
- Mocking board when testing the Tool class.
|
|
137
|
+
- Sprints appearing on several boards are only listed once.
|
|
138
|
+
- Fixed rate limiting by properly tracking each API call.
|
|
139
|
+
- Handling non convention compliant names for comparisons.
|
|
140
|
+
- project_ticket_creation_metadata_fetcher.rb Added an AI Assistant suggestion as commented out code
|
|
141
|
+
- Made the table header matching regex based
|
|
142
|
+
- Made sure that ./bin is the executable directory for the gem
|
|
143
|
+
- SprintController#sprints no longer returns sprint duplicates that could appear when the same sprint is visible on several boards
|
|
144
|
+
- Fixed running jira-auto-tool from another folder than the gem root
|
|
145
|
+
- Removed unnecessary JIRA::HttpClient patch
|
|
146
|
+
- Fix GitHub Actions misaligned expected board name and board name regex values
|
|
147
|
+
- Switched to using RateLimitedJiraClient
|
|
148
|
+
- Made the check of expected out --xx-list commands more robust
|
|
149
|
+
- Removed the duplicated board loading
|
|
150
|
+
- Fixed sprint filtering testing and ignoring closed ones
|
|
151
|
+
- Listing only unclosed sprints
|
|
152
|
+
- Added Sprint Id output when listing sprints
|
|
153
|
+
- HTTP rate limit to 1 request every 4 seconds
|
|
154
|
+
- Adjusted the JIRA board name to use in the GitHub Action
|
|
155
|
+
- Added the missing redis ports
|
|
156
|
+
- Waiting for redis to start
|
|
157
|
+
- Added the installation of the redis-cli
|
|
158
|
+
- Removed the explicit redis port information
|
|
159
|
+
- Redis values are defined at the global environment level
|
|
160
|
+
- Fixing the redis port variable use
|
|
161
|
+
- Fixed misalignment in GitHub Action definition
|
|
162
|
+
- Ignoring with a warning sprints not comforming to a format like ART_Team_25.1.2
|
|
163
|
+
- Rate limited the HTTP requests to one every other second
|
|
164
|
+
- Added the needed redis service in the GitHub Actions
|
|
165
|
+
- Added support for optional/missing sprint dates and missing boards
|
|
166
|
+
- All the sprints that are matched are removed
|
|
167
|
+
- XSRevert "Updated the needed Gem versions"
|
|
168
|
+
- Updated the needed Gem versions
|
|
169
|
+
- Catching exceptions to add more context in case of error
|
|
170
|
+
- Request rate limiting using redis and ratelimit gems
|
|
171
|
+
- GitHub Actions Board adjusted and jira instance boards filtered accordingly.
|
|
172
|
+
- Switching GitHub Action board to a Scrum Board
|
|
173
|
+
- Tweaked the logging
|
|
174
|
+
- Implemented --sprint-prefix-list and replaced CRLF with LF in files
|
|
175
|
+
- Fixed --sprint-list to only used sprint based boards
|
|
176
|
+
- Fixed RequestBuilder and subclassed to use the context_path
|
|
177
|
+
- --board-list the Jira instance board using a board_name_regex when defined
|
|
178
|
+
- Fixed broken xxx_when_defined_else
|
|
179
|
+
- Enabling the HttpClient patch so that context_path works as expected.
|
|
180
|
+
- Implemented --board-list and JIRA_PROJECT_KEY
|
|
181
|
+
- Added JIRA_CONTEXT_PATH
|
|
182
|
+
- Ruby load path to include scrip_path/../lib
|
|
183
|
+
- Bumped Aruba timeout to 300 seconds
|
|
184
|
+
- Added sprint filtering using an ART_SPRINT_REGEX environment variable
|
|
185
|
+
- Ignoring rerun_failures.txt used for Cucumber failure reruns
|
|
186
|
+
- The originBoardId is used to create sprints following an existing instead of a single board id.
|
|
187
|
+
- guard cucumber tor rerun failed features first if any
|
|
188
|
+
- Finalized team tickets dispatching on sprints according to expected start dates
|
|
189
|
+
- Ticket dispatching is now assigning a sprint to a ticket
|
|
190
|
+
- Added the matching of sprint to the corresponding prefix sprint
|
|
191
|
+
- Implemented creating tickets with custom fields and fetching the actual ticket values.
|
|
192
|
+
- Specifying the badge labels
|
|
193
|
+
- GitHub Actions - Updated to monitor all branches
|
|
194
|
+
- Cleaned TeamSprintPrefixMapper spec further
|
|
195
|
+
- Simplified TeamSprintPrefixMapper
|
|
196
|
+
- Ignoring /log directory
|
|
197
|
+
- Implemented mapping sprints to team names
|
|
198
|
+
- Implemented fetching field options
|
|
199
|
+
- JAT-15 - Implemented the ability to find the implementation_team and expected_start_date fields.
|
|
200
|
+
- Implemented jira_resource_double to centrally deal with rubocop:disable RSpec/VerifiedDoubles
|
|
201
|
+
- More robust sprint comparison using start_date, end_date and parsed_name
|
|
202
|
+
- Removed unused class
|
|
203
|
+
- Fixed broken --board-name=
|
|
204
|
+
- Fixed Rubocop warnings
|
|
205
|
+
- Updated the gem dependencies
|
|
206
|
+
- Finalized --sprint-add-until={current,coming}_quarter with current date time overridding
|
|
207
|
+
- Fixed 4-day sprint infinite loop issue where 24.4.10 was not > 24.4.9.
|
|
208
|
+
- Added logging statement and writing logs to a log directory.
|
|
209
|
+
- Incorrect UntilDate format should throw an error
|
|
210
|
+
- Implemented UntilDate and sprint loading pagination
|
|
211
|
+
- Create the next sprint using Sprint::Prefix#last_sprint
|
|
212
|
+
- Confirming that --sprint-add-one can handle multiple sprints
|
|
213
|
+
- Implemented --sprint-add-one when a single unclosed sprint exists
|
|
214
|
+
- Updating to Ruby 3.4.1
|
|
215
|
+
- Switching to Ruby 3.4 version in GitHub Actions
|
|
216
|
+
- Ruby 3.4. Using `#Thread::Backtrace::Location#base_label` to only get the method name
|
|
217
|
+
- Fixed typo in GitHub Actions file
|
|
218
|
+
- Configured the JIRA environment variables for GitHub Actions
|
|
219
|
+
- Renamed Jira::Sprint::Tool to Jira::Auto::Tool
|
|
220
|
+
- Renamed jira-sprint-tool command to jira-auto-tool
|
|
221
|
+
- Fixed an English typo.
|
|
222
|
+
- rubocop:disable RSpec/MultipleExpectations for Tool#create_sprint
|
|
223
|
+
- Added tests for SprintCreator
|
|
224
|
+
- Migrated tests for RequestBuilder and SprintStateUpdater
|
|
225
|
+
- Made RequestBuilder logging quieter
|
|
226
|
+
- Disabled Cucumber.io report publishing banner
|
|
227
|
+
- Removed unused code due to refactoring
|
|
228
|
+
- Moved RequestBuilder and subclasses in separate files
|
|
229
|
+
- Removed request handling duplication
|
|
230
|
+
- Refactoring request code
|
|
231
|
+
- Reducing the length of methods
|
|
232
|
+
- Fixed broken #create_sprint and #update_sprint_state tests
|
|
233
|
+
- Warning displayed when no unclosed sprint exist
|
|
234
|
+
- Dynamically creating closed sprints
|
|
235
|
+
- Removed duplication by using Jira::Sprint::Tool instead of the Jira client
|
|
236
|
+
- Handling the case where no sprint exist on the board
|
|
237
|
+
- Intermediate state to switch to Windows based development
|
|
238
|
+
- Create dependabot.yml
|
|
239
|
+
- Added guard for continuous local testing
|
|
240
|
+
- Adjusting GitAction badge URL
|
|
241
|
+
- Updated bundler dependencies
|
|
242
|
+
- Made the GitHub Action status visible on the README
|
|
243
|
+
- Removing 3.4.0 from the build matrix since that fails
|
|
244
|
+
- Added cucumber as part of the default rake target
|
|
245
|
+
- Turn of matrix fail-fast to know which versions are failing
|
|
246
|
+
- Added 3.4.0 in the build matrix
|
|
247
|
+
- Configure Rubocop and corrected warnings
|
|
248
|
+
- Switching to ruby 3.3.6
|
|
249
|
+
- Implemented basic --help
|
|
250
|
+
- Remove rspec initial failing test
|
|
251
|
+
- Initial commit after 'bundle gem ...'
|
|
252
|
+
|
|
4
253
|
|
|
5
|
-
- Initial release
|
|
@@ -19,7 +19,7 @@ Feature: Control the HTTP request rate limit
|
|
|
19
19
|
|
|
20
20
|
Examples:
|
|
21
21
|
| jat_rate_limit_implementation | rate_limit_per_interval | rate_interval_in_seconds | minimal_time | maximal_time |
|
|
22
|
-
| | 0 | 0 | 0 |
|
|
22
|
+
| | 0 | 0 | 0 | 7 |
|
|
23
23
|
| in_process | 1 | 1 | 1 | 20 |
|
|
24
24
|
| redis | 1 | 2 | 1 | 20 |
|
|
25
25
|
| redis | 1 | 10 | 18 | 120 |
|
data/lib/tasks/version.rake
CHANGED
|
@@ -53,3 +53,12 @@ end
|
|
|
53
53
|
|
|
54
54
|
desc "Alias for version:bump"
|
|
55
55
|
task :bump, [:type] => ["version:bump"]
|
|
56
|
+
|
|
57
|
+
desc "Upgrade gems, including bundler and gem"
|
|
58
|
+
task :upgrade do
|
|
59
|
+
sh "gem update --system"
|
|
60
|
+
sh "gem update"
|
|
61
|
+
sh "bundle update --bundler"
|
|
62
|
+
sh "bundle update --all"
|
|
63
|
+
sh "bundle audit"
|
|
64
|
+
end
|