66 Commits

Author SHA1 Message Date
Maximilian Downey Twiss
33901368d7 Enable more rubocop cops (#9980)
* Remove self.check in python3.rb as tests were not actuallly being run

* Enable Lint/ImplicitStringConcatenation cop

* Enable Layout/CommentIndentation cop

* Remove unnecessary configuration of Layout/IndentationStyle to EnforcedStyle: spaces, as this is already the default

* Enable Layout/LeadingCommentSpace cop

* Enable Layout/SpaceInsideBlockBraces cop

* Enable Layout/SpaceInsideParens cop

* Enable Layout/TrailingEmptyLines cop

* Enable Lint/LiteralAsCondition cop

* Document the current issue stopping us from enabling Style/OptionalBooleanParameter

* Stop downloading our rubocop config when installing ruby_rubocop
2024-06-17 16:19:11 -04:00
Maximilian Downey Twiss
8b19dcd05a Add lib/package_utils.rb to provide a number of package convenience functions. (#9617) 2024-04-10 13:00:04 -05:00
Satadru Pramanik, DO, MPH, MEng
ac52769bad Revert "Miscellaneous crew changes (#9311)" (#9315)
This reverts commit 7a5eff8945.
2024-02-12 12:31:07 -06:00
Maximilian Downey Twiss
7a5eff8945 Miscellaneous crew changes (#9311)
* Make greater use of File.join when loading device.json

* Remove redundant check that the compatibility property exists (already checked by prop_test as part of CI)

* Don't pass architecture to lib/package.rb

* Replace @device[:architecture] with ARCH, do not create architecture section in device.json

* Refactor getting urls and sha256s in package.rb

* Use inplace sort on installed_packages instead of creating sorted_installed_packages

* Rework load_package to always only take one argument

* Only rescue package loading errors in set_package

* Remove generate_compatible

* Replace all calls to load_package with set_package

* Use _args instead of _ in prop_command

* Merge @short_verbose and @verbose

* Simplify filename detection in download

* Bump crew version
2024-02-12 12:38:18 -05:00
Maximilian Downey Twiss
b8bed724e5 Remove basic miscellaneous uses of @_ver (#8429) 2023-06-22 10:47:09 -04:00
supechicken
35907d56f5 jdk*: Make prompt more clearly + add openjdk detection (#7498)
* jdk8 => 8u341

* Redirect to stdout

* Add newline

* Update message

* Fix variable name

* Update jdk8.rb

* Remove archive after installed

* jdk11 => 11.0.16.1

* Update all available oracle jdk versions

* Fix url  type

* Fix version detection

* Make rubocop happy

* Fix openjdk detection

* Use `@_ver` on jdk*, fix rubocop
2022-10-15 23:31:15 -05:00
Maximilian Downey Twiss
de24923ee8 Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-08-22 13:31:25 -04:00
Ed Reel
a487748b0f Update jdk8 (#7099)
* Revert d3038e0805

* Fix version typo in jdk8 package
2022-05-30 19:08:47 -04:00
Ed Reel
94076352b7 Update jdk packages (#7095)
* Revert d3038e0805

* Update jdk packages 8u333-18.0.1.1

Remove jdk15 and jdk16 (no longer available)
2022-05-30 11:27:13 -04:00
Ed Reel
c6625ef080 Update jdk packages 8u321-17.0.2 => 8u331-18.0.1 (#7009) 2022-04-25 15:15:27 -04:00
supechicken
944607d5ac Change deprecated File.exists?/Dir.exists? to File.exist?/Dir.exist? (#6893)
* Change `File.exists?` to `File.exist?`

* Change `Dir.exists?` to `Dir.exist?`
2022-03-21 13:24:13 -04:00
Cassandra Watergate
853dc9cfa8 jdk8: fix i686 checksum (#6694) 2022-01-31 17:41:19 -06:00
Ed Reel
8e2aa68b3f Add pre-built binaries for jdk8 (#6693) 2022-01-31 07:36:20 -05:00
Ed Reel
80aaee5713 Update jdk packages (#6692)
jdk8 8u311 => 8u321
jdk11 11.0.12 => 11.0.14
jdk17 17.0.2
2022-01-30 20:14:17 -05:00
Ed Reel
72c2607bcf Jdk8 8u301 => 8u311 (#6327) 2021-10-24 08:05:24 -04:00
Ed Reel
f97aa4b633 Add jdk16 package (#6050)
Include preflight fake packages in dependency resolver
2021-08-08 22:37:37 -04:00
Ed Reel
7d1509e245 Fix broken jdk8 x86_64 binary (#6048) 2021-08-08 21:08:16 -04:00
Ed Reel
2bd8759eb4 Update jdk8 from 8u291 to 8u301 (#6047) 2021-08-08 16:45:21 -04:00
Ed Reel
1cfafce728 Update jdk8 from 8u281 to 8u291 (#5808) 2021-05-24 12:11:06 -04:00
satmandu
8dd93f1b5f Crew: skip (#5713)
* crew: Add package file source_url SKIP option, clean up extractions in install

* change /dev/null source_url to SKIP in all packages

* uprev
2021-04-30 14:13:48 -05:00
Ed Reel
f7c9a99f2d Transition binary repo from GitHub to GitLab (#5702) 2021-04-28 16:22:06 -04:00
Ed Reel
df801b93f5 Update binary_url to github in all packages (#5675)
Add gh.sh script to tools

Add .gitignore

Update download_binary.sh

Update README.md
2021-04-21 15:39:00 -04:00
Ed Reel
30a1f8719d Transition binary repo from Bintray to SourceForge (#5608) 2021-04-13 10:11:55 -04:00
saltedcoffii
c00a9d11f0 Licensed ha* to kz* and other minor changes 2021-03-19 23:04:55 -04:00
Ed Reel
e2863b90d0 Update jdk packages (#5417)
- Update jdk8 from 8u271 to 8u281
- Update jdk11 from 11.0.9 to 11.0.10
- Add jdk15 package
- Add jdk package
- Add pre-built binaries
2021-03-14 22:29:52 -04:00
Ed Reel
8edd3e181a Update jdk8 from 8u261 to 8u271 2020-11-15 12:23:04 -06:00
Ed Reel
3a065d9c9f Update jdk8 from 8u251 to 8u261 2020-08-09 16:03:31 -05:00
Ed Reel
10e092ef60 Update jdk8 from 8u241 to 8u251 (#4128)
Add pre-built binaries
2020-06-25 16:29:14 -04:00
Ed Reel
9617751bbd Add check for package compatibility 2020-05-14 23:57:07 -05:00
Ed Reel
5ebb574013 Update jdk8 from 8u231 to 8u241 (#4002)
Add pre-built binaries
2020-04-12 11:25:39 -04:00
Ed Reel
873777d9e0 Update jdk8 from 8u221 to 8u231 (#3678)
Add pre-built binaries
2019-12-02 06:49:08 -05:00
Ed Reel
f55915935a Update jdk8 from 8u212 to 8u221 (#3431)
Rubify the file operations

Change symlink logic

Add pre-built binaries
2019-08-19 23:53:48 +09:00
Ed Reel
82786eba24 Update jdk8 from 8u202 to 8u212 (#3338)
Add pre-built binaries
2019-06-16 12:49:16 -04:00
Ed Reel
e0d744b64f Update jdk8 from 8u192 to 8u202 (#3097)
Add pre-built binaries
2019-01-22 11:09:27 -06:00
Ed Reel
e0c73af14e Update jdk8 from 8u181 to 8u192
Add pre-built binaries
2018-11-10 20:50:21 -06:00
Ed Reel
63fd21f37b Update jdk8 from 8u172 to 8u181
Add pre-built binaries

Change source urls from http to https
2018-10-08 23:13:43 -05:00
Ed Reel
c15ca0a2d5 Update jdk8 from 8u162 to 8u172
Add pre-built binaries

Change http to https
2018-05-05 00:29:10 +00:00
Ed Reel
504dd756be Add pre-built binaries a-v 2018-02-17 17:20:08 -06:00
Ed Reel
9de0333b6a Update jdk8 from 8u152 to 8u162 2018-02-03 18:25:13 -06:00
Ed Reel
91ffd21a93 Add pre-built binaries for a-l packages
Fix ccl package binary sections
2017-11-30 02:00:54 -06:00
Ed Reel
2af6c4efb2 Update jdk8 from 8u144 to 8u152
Change urls from http to https

Change install location, crew constants and get manpages working

Combine aarch64 and armv7l installs
2017-11-03 11:51:50 -05:00
Kazushi (Jam) Marukawa
e06528278c Add pre-compiled binaries 2017-08-26 09:29:23 +09:00
Ed Reel
b59013428e Rework install section as suggested by @jam7 2017-08-02 18:04:32 +09:00
Ed Reel
d65a031b54 Update jdk8 from 8u131 to 8u144 2017-08-02 18:04:32 +09:00
Ed Reel
1b50081434 Change packages i-l from sha1 to sha256 2017-07-01 10:14:14 -05:00
Ed Reel
59317ced74 Update jdk8 package 2017-06-19 09:07:52 -05:00
Damian Montero
c7d6b7fdb4 JDK8 upgraded to 8u131 (for x86 and 64x ONLY), arm still at u22, but we are using official oracle URLs now 2017-06-13 04:19:17 -04:00
Damian Montero
37a7e3b3c5 Java to 8u111 2017-06-13 04:16:24 -04:00
lyxell
5aa6546dde Add package descriptions and homepages 2017-05-30 05:20:56 +02:00
Ben Fayers
db5532ffce Merge branch 'master' into update-urls-dropbox 2017-04-12 11:20:49 +01:00