Commit Graph

18 Commits

Author SHA1 Message Date
Satadru Pramanik, DO, MPH, MEng
ef26c23a47 Refactor version.rb and add output to PRs. — tk (#12388)
* Refactor version.rb and add output to PRs.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update tk homepage.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust PR creation text logic.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2025-08-08 19:15:50 +00:00
Ed Reel
2cef2d68e4 Update version.rb to only update versions with -u or --update-package-files (#12375) 2025-08-07 05:23:11 +00:00
Satadru Pramanik, DO, MPH, MEng
0f327c888b Remove debugging code from version.rb (#12363)
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2025-08-06 19:58:15 +00:00
Satadru Pramanik, DO, MPH, MEng
cf14c34878 Have version.rb handle updating binary compression too. — (#12361)
* Add anitya mapping code to version.rb

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fixup binary_compression when updating packages

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2025-08-06 19:26:26 +00:00
Satadru Pramanik, DO, MPH, MEng
e6a8f4585f version_check — (#12351)
* Add Package Updater to tools/version.rb

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add package exclusion.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add cf to package exclusion.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2025-08-06 17:47:11 +00:00
Ed Reel
7b5cb4da84 Fix undefined method 'sub!' in tools/version.rb. (#12092)
Fix Lint/AmbiguousRange: Wrap complex range boundaries with parentheses to avoid ambiguity.

Fix Style/RedundantParentheses: Don't use parentheses around a logical expression.
2025-06-22 15:44:38 +00:00
Ed Reel
d886de6f33 Get version from GitHub repository (#12050) 2025-06-17 14:36:18 +00:00
Maximilian Downey Twiss
cc0d8f61c7 Run rubocop on tree to catch all of the offenses being missed previously by the rubocop-chromebrew issue (#11521) 2025-03-12 20:38:56 +00:00
Maximilian Downey Twiss
fcce2116b0 Rework wildcard parameters in crew upstream (#11471)
Co-authored-by: Ed Reel <edreel@gmail.com>
2025-03-06 03:13:23 +00:00
Ed Reel
c41e10cd7d Allow wildcard (*) parameters in crew upstream (#11468) 2025-03-04 17:01:29 +00:00
Ed Reel
7ca5933f64 Fix broken '*' parameter to version.rb (#11199) 2025-01-27 10:37:09 +00:00
Satadru Pramanik, DO, MPH, MEng
d1871f255a Add CREW_GCC_VER constant and account for it in the version cleaning algorithm. (#10945)
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-12-13 19:05:44 +00:00
Ed Reel
2aeb820caa Fix undefined method `[]' for nil (NoMethodError) in version.rb (#10930) 2024-12-11 03:45:35 +00:00
Ed Reel
93abc1c2b0 Ignore python and ruby packages with 'crew check -V' (#10919) 2024-12-10 12:16:05 +00:00
Satadru Pramanik, DO, MPH, MEng
7f92366fef Only have tools/version.rb report stable version updates when using 'crew check -V <package>'. (#10908)
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-12-07 20:54:50 +00:00
Maximilian Downey Twiss
cbd2d8f282 Add get_clean_version in PackageUtils and use it in json.rb and version.rb (#10249) 2024-08-04 23:09:32 -05:00
Maximilian Downey Twiss
f93d19bdee Swap version.rb to ruby_libversion instead of Gem::Version (#9913) 2024-06-05 22:28:53 -04:00
Ed Reel
7c17beeee7 Add check command (#9501) 2024-03-20 08:46:01 -04:00