ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:96681] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases?
       [not found] <redmine.issue-16483.20200106070219@ruby-lang.org>
@ 2020-01-06  7:02 ` zn
  2020-01-06  7:59 ` [ruby-core:96684] " shevegen
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: zn @ 2020-01-06  7:02 UTC (permalink / raw)
  To: ruby-core

Issue #16483 has been reported by znz (Kazuhiro NISHIYAMA).

----------------------------------------
Misc #16483:  How about stopping new *.tar.bz2 releases?
https://bugs.ruby-lang.org/issues/16483

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Current ruby releases generate `*.tar.gz`, `*.tar.bz2`, `*.tar.xz`, and `*.zip`.
But I think we can stop generating `*.tar.bz2`.

I think `*.tar.bz2` are less merit.
For better size, `*.tar.xz` exist.
For better compatibility, `*.tar.gz` and `*.zip` exist.

I check some programming languages source package archives.

- https://jdk.java.net/13/ tar.gz zip
- https://gcc.gnu.org/mirrors.html tar.gz tar.xz
- https://www.python.org/downloads/source/ tgz tar.xz
- https://nodejs.org/dist/v12.14.0/ tar.gz tar.xz (and 7z zip for win)
- https://www.perl.org/get.html tar.gz
- https://www.php.net/downloads.php tar.bz2 tar.gz tar.xz

`tar.bz2` are rare.

How about stopping `*.tar.bz2` since next release?

(I know [ruby-build](https://github.com/rbenv/ruby-build) use `*.tar.bz2`. And it can use `*.tar.gz`)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:96684] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases?
       [not found] <redmine.issue-16483.20200106070219@ruby-lang.org>
  2020-01-06  7:02 ` [ruby-core:96681] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases? zn
@ 2020-01-06  7:59 ` shevegen
  2020-01-06  8:50 ` [ruby-core:96686] " XrXr
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: shevegen @ 2020-01-06  7:59 UTC (permalink / raw)
  To: ruby-core

Issue #16483 has been updated by shevegen (Robert A. Heiler).


I don't mind as in I don't need .tar.bz2.

Personally I use .tar.xz; all local archives of source files that I
keep are in .tar.xz format.

(Note that github offers either git clone, or .zip so .tar.bz2 is
probably becoming more rare every year.)


----------------------------------------
Misc #16483:  How about stopping new *.tar.bz2 releases?
https://bugs.ruby-lang.org/issues/16483#change-83667

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Current ruby releases generate `*.tar.gz`, `*.tar.bz2`, `*.tar.xz`, and `*.zip`.
But I think we can stop generating `*.tar.bz2`.

I think `*.tar.bz2` are less merit.
For better size, `*.tar.xz` exist.
For better compatibility, `*.tar.gz` and `*.zip` exist.

I check some programming languages source package archives.

- https://jdk.java.net/13/ tar.gz zip
- https://gcc.gnu.org/mirrors.html tar.gz tar.xz
- https://www.python.org/downloads/source/ tgz tar.xz
- https://nodejs.org/dist/v12.14.0/ tar.gz tar.xz (and 7z zip for win)
- https://www.perl.org/get.html tar.gz
- https://www.php.net/downloads.php tar.bz2 tar.gz tar.xz

`tar.bz2` are rare.

How about stopping `*.tar.bz2` since next release?

(I know [ruby-build](https://github.com/rbenv/ruby-build) use `*.tar.bz2`. And it can use `*.tar.gz`)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:96686] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases?
       [not found] <redmine.issue-16483.20200106070219@ruby-lang.org>
  2020-01-06  7:02 ` [ruby-core:96681] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases? zn
  2020-01-06  7:59 ` [ruby-core:96684] " shevegen
@ 2020-01-06  8:50 ` XrXr
  2020-01-06 18:15 ` [ruby-core:96692] " eregontp
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: XrXr @ 2020-01-06  8:50 UTC (permalink / raw)
  To: ruby-core

Issue #16483 has been updated by alanwu (Alan Wu).


I like it. I’m biased though since I’m a sucker for opportunity to simplify like this one.

If we do go ahead, we should maybe announce it one release in advance to minimize impact.

----------------------------------------
Misc #16483:  How about stopping new *.tar.bz2 releases?
https://bugs.ruby-lang.org/issues/16483#change-83669

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Current ruby releases generate `*.tar.gz`, `*.tar.bz2`, `*.tar.xz`, and `*.zip`.
But I think we can stop generating `*.tar.bz2`.

I think `*.tar.bz2` are less merit.
For better size, `*.tar.xz` exist.
For better compatibility, `*.tar.gz` and `*.zip` exist.

I check some programming languages source package archives.

- https://jdk.java.net/13/ tar.gz zip
- https://gcc.gnu.org/mirrors.html tar.gz tar.xz
- https://www.python.org/downloads/source/ tgz tar.xz
- https://nodejs.org/dist/v12.14.0/ tar.gz tar.xz (and 7z zip for win)
- https://www.perl.org/get.html tar.gz
- https://www.php.net/downloads.php tar.bz2 tar.gz tar.xz

`tar.bz2` are rare.

How about stopping `*.tar.bz2` since next release?

(I know [ruby-build](https://github.com/rbenv/ruby-build) use `*.tar.bz2`. And it can use `*.tar.gz`)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:96692] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases?
       [not found] <redmine.issue-16483.20200106070219@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2020-01-06  8:50 ` [ruby-core:96686] " XrXr
@ 2020-01-06 18:15 ` eregontp
  2020-01-07  4:38 ` [ruby-core:96699] " hsbt
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: eregontp @ 2020-01-06 18:15 UTC (permalink / raw)
  To: ruby-core

Issue #16483 has been updated by Eregon (Benoit Daloze).


`ruby-install` also uses `.tar.bz2` currently, so changing that would mean that existing releases would no longer work:
https://github.com/postmodern/ruby-install/blob/402cbdeaffb99d105ecd9b93c75828b32f0f382f/share/ruby-install/ruby/functions.sh#L4

Not sure about RVM.

----------------------------------------
Misc #16483:  How about stopping new *.tar.bz2 releases?
https://bugs.ruby-lang.org/issues/16483#change-83677

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Current ruby releases generate `*.tar.gz`, `*.tar.bz2`, `*.tar.xz`, and `*.zip`.
But I think we can stop generating `*.tar.bz2`.

I think `*.tar.bz2` are less merit.
For better size, `*.tar.xz` exist.
For better compatibility, `*.tar.gz` and `*.zip` exist.

I check some programming languages source package archives.

- https://jdk.java.net/13/ tar.gz zip
- https://gcc.gnu.org/mirrors.html tar.gz tar.xz
- https://www.python.org/downloads/source/ tgz tar.xz
- https://nodejs.org/dist/v12.14.0/ tar.gz tar.xz (and 7z zip for win)
- https://www.perl.org/get.html tar.gz
- https://www.php.net/downloads.php tar.bz2 tar.gz tar.xz

`tar.bz2` are rare.

How about stopping `*.tar.bz2` since next release?

(I know [ruby-build](https://github.com/rbenv/ruby-build) use `*.tar.bz2`. And it can use `*.tar.gz`)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:96699] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases?
       [not found] <redmine.issue-16483.20200106070219@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2020-01-06 18:15 ` [ruby-core:96692] " eregontp
@ 2020-01-07  4:38 ` hsbt
  2020-01-07  7:10 ` [ruby-core:96700] " shannonskipper
  2020-01-08  0:38 ` [ruby-core:96707] " shannonskipper
  6 siblings, 0 replies; 7+ messages in thread
From: hsbt @ 2020-01-07  4:38 UTC (permalink / raw)
  To: ruby-core

Issue #16483 has been updated by hsbt (Hiroshi SHIBATA).


I prefer to remove bz2 from release packages. I can change to use gz from bz2 at ruby-build.

----------------------------------------
Misc #16483:  How about stopping new *.tar.bz2 releases?
https://bugs.ruby-lang.org/issues/16483#change-83684

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Current ruby releases generate `*.tar.gz`, `*.tar.bz2`, `*.tar.xz`, and `*.zip`.
But I think we can stop generating `*.tar.bz2`.

I think `*.tar.bz2` are less merit.
For better size, `*.tar.xz` exist.
For better compatibility, `*.tar.gz` and `*.zip` exist.

I check some programming languages source package archives.

- https://jdk.java.net/13/ tar.gz zip
- https://gcc.gnu.org/mirrors.html tar.gz tar.xz
- https://www.python.org/downloads/source/ tgz tar.xz
- https://nodejs.org/dist/v12.14.0/ tar.gz tar.xz (and 7z zip for win)
- https://www.perl.org/get.html tar.gz
- https://www.php.net/downloads.php tar.bz2 tar.gz tar.xz

`tar.bz2` are rare.

How about stopping `*.tar.bz2` since next release?

(I know [ruby-build](https://github.com/rbenv/ruby-build) use `*.tar.bz2`. And it can use `*.tar.gz`)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:96700] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases?
       [not found] <redmine.issue-16483.20200106070219@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2020-01-07  4:38 ` [ruby-core:96699] " hsbt
@ 2020-01-07  7:10 ` shannonskipper
  2020-01-08  0:38 ` [ruby-core:96707] " shannonskipper
  6 siblings, 0 replies; 7+ messages in thread
From: shannonskipper @ 2020-01-07  7:10 UTC (permalink / raw)
  To: ruby-core

Issue #16483 has been updated by shan (Shannon Skipper).


RVM also primarily uses bz2.

----------------------------------------
Misc #16483:  How about stopping new *.tar.bz2 releases?
https://bugs.ruby-lang.org/issues/16483#change-83685

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Current ruby releases generate `*.tar.gz`, `*.tar.bz2`, `*.tar.xz`, and `*.zip`.
But I think we can stop generating `*.tar.bz2`.

I think `*.tar.bz2` are less merit.
For better size, `*.tar.xz` exist.
For better compatibility, `*.tar.gz` and `*.zip` exist.

I check some programming languages source package archives.

- https://jdk.java.net/13/ tar.gz zip
- https://gcc.gnu.org/mirrors.html tar.gz tar.xz
- https://www.python.org/downloads/source/ tgz tar.xz
- https://nodejs.org/dist/v12.14.0/ tar.gz tar.xz (and 7z zip for win)
- https://www.perl.org/get.html tar.gz
- https://www.php.net/downloads.php tar.bz2 tar.gz tar.xz

`tar.bz2` are rare.

How about stopping `*.tar.bz2` since next release?

(I know [ruby-build](https://github.com/rbenv/ruby-build) use `*.tar.bz2`. And it can use `*.tar.gz`)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:96707] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases?
       [not found] <redmine.issue-16483.20200106070219@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2020-01-07  7:10 ` [ruby-core:96700] " shannonskipper
@ 2020-01-08  0:38 ` shannonskipper
  6 siblings, 0 replies; 7+ messages in thread
From: shannonskipper @ 2020-01-08  0:38 UTC (permalink / raw)
  To: ruby-core

Issue #16483 has been updated by shan (Shannon Skipper).


If bz2 removal goes forward, it might be nice to deprecate now but not remove until later. It'd be ideal to have working versions of RVM, ruby-install and ruby-build in wide distribution before bz2 goes away. If we change the tools now but don't remove bz2 for a few years, I think it'd go smoother without having users tempted to bypass checksums.

For ruby-install, users will have to upgrade the tool itself to move off bz2. It uses a different repo, ruby-versions, for checksums, so it already has xz, etc. But, the choice of bz2 is hardcoded in ruby-install. Currently, bz2 is used for Ruby and Rubinius and tar is used for MRuby, JRuby and TruffleRuby. Only small code changes are necessary, but everyone would have to upgrade the tool rather than just using the --latest flag to fetch the latest Ruby metadata like normal. Since metadata isn't handled in the tool itself, ruby-install isn't updated frequently. Users tend not to upgrade often and it doesn't have a self-update mechanism.

RVM has bz2 md5 and sha512 checksums hardcoded inline, so it's just the RVM repo to update to new checksums. RVM already has tooling to support alternative decompression, but I'm not sure where all else bz2 might be intertwined. It's probably not too bad after changing a bunch of checksums. Users would need to get an updated version of RVM for bz2 support too, but that's also the normal upgrade mechanism for access to new Ruby metadata—so it's normal for RVM users to upgrade fairly often.

----------------------------------------
Misc #16483:  How about stopping new *.tar.bz2 releases?
https://bugs.ruby-lang.org/issues/16483#change-83695

* Author: znz (Kazuhiro NISHIYAMA)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Current ruby releases generate `*.tar.gz`, `*.tar.bz2`, `*.tar.xz`, and `*.zip`.
But I think we can stop generating `*.tar.bz2`.

I think `*.tar.bz2` are less merit.
For better size, `*.tar.xz` exist.
For better compatibility, `*.tar.gz` and `*.zip` exist.

I check some programming languages source package archives.

- https://jdk.java.net/13/ tar.gz zip
- https://gcc.gnu.org/mirrors.html tar.gz tar.xz
- https://www.python.org/downloads/source/ tgz tar.xz
- https://nodejs.org/dist/v12.14.0/ tar.gz tar.xz (and 7z zip for win)
- https://www.perl.org/get.html tar.gz
- https://www.php.net/downloads.php tar.bz2 tar.gz tar.xz

`tar.bz2` are rare.

How about stopping `*.tar.bz2` since next release?

(I know [ruby-build](https://github.com/rbenv/ruby-build) use `*.tar.bz2`. And it can use `*.tar.gz`)



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-01-08  0:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-16483.20200106070219@ruby-lang.org>
2020-01-06  7:02 ` [ruby-core:96681] [Ruby master Misc#16483] How about stopping new *.tar.bz2 releases? zn
2020-01-06  7:59 ` [ruby-core:96684] " shevegen
2020-01-06  8:50 ` [ruby-core:96686] " XrXr
2020-01-06 18:15 ` [ruby-core:96692] " eregontp
2020-01-07  4:38 ` [ruby-core:96699] " hsbt
2020-01-07  7:10 ` [ruby-core:96700] " shannonskipper
2020-01-08  0:38 ` [ruby-core:96707] " shannonskipper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).