ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:92697] [Ruby trunk Bug#15859] Is Unicode in beta?
       [not found] <redmine.issue-15859.20190517134155@ruby-lang.org>
@ 2019-05-17 13:41 ` Greg.mpls
  2019-05-17 13:58 ` [ruby-core:92698] [Ruby trunk Misc#15859] " Greg.mpls
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Greg.mpls @ 2019-05-17 13:41 UTC (permalink / raw)
  To: ruby-core

Issue #15859 has been reported by MSP-Greg (Greg L).

----------------------------------------
Bug #15859: Is Unicode in beta?
https://bugs.ruby-lang.org/issues/15859

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
I'm not totally sure, but is this flag causing Unicode files to not be cached?

```
UNICODE_BETA = YES
```

https://github.com/ruby/ruby/blob/0723c107f4fb39f60113b44dd21d875c90da5456/common.mk#L22




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

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

* [ruby-core:92698] [Ruby trunk Misc#15859] Is Unicode in beta?
       [not found] <redmine.issue-15859.20190517134155@ruby-lang.org>
  2019-05-17 13:41 ` [ruby-core:92697] [Ruby trunk Bug#15859] Is Unicode in beta? Greg.mpls
@ 2019-05-17 13:58 ` Greg.mpls
  2019-05-17 20:20 ` [ruby-core:92704] " Greg.mpls
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Greg.mpls @ 2019-05-17 13:58 UTC (permalink / raw)
  To: ruby-core

Issue #15859 has been updated by MSP-Greg (Greg L).


@duerst

Sorry for the ping, I noticed the commit where the flag was flipped.  Appveyor (and maybe other CI) is having issues with reliable connections to Unicode.org.  I think if this is reset, the Unicode files will be cached?

----------------------------------------
Misc #15859: Is Unicode in beta?
https://bugs.ruby-lang.org/issues/15859#change-78056

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
I'm not totally sure, but is this flag causing Unicode files to not be cached?

```
UNICODE_BETA = YES
```

https://github.com/ruby/ruby/blob/0723c107f4fb39f60113b44dd21d875c90da5456/common.mk#L22




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

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

* [ruby-core:92704] [Ruby trunk Misc#15859] Is Unicode in beta?
       [not found] <redmine.issue-15859.20190517134155@ruby-lang.org>
  2019-05-17 13:41 ` [ruby-core:92697] [Ruby trunk Bug#15859] Is Unicode in beta? Greg.mpls
  2019-05-17 13:58 ` [ruby-core:92698] [Ruby trunk Misc#15859] " Greg.mpls
@ 2019-05-17 20:20 ` Greg.mpls
  2019-05-18  6:22 ` [ruby-core:92707] " duerst
  2019-05-24  6:15 ` [ruby-core:92816] " duerst
  4 siblings, 0 replies; 5+ messages in thread
From: Greg.mpls @ 2019-05-17 20:20 UTC (permalink / raw)
  To: ruby-core

Issue #15859 has been updated by MSP-Greg (Greg L).


See https://github.com/ruby/ruby/pull/2193

----------------------------------------
Misc #15859: Is Unicode in beta?
https://bugs.ruby-lang.org/issues/15859#change-78062

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
I'm not totally sure, but is this flag causing Unicode files to not be cached?

```
UNICODE_BETA = YES
```

https://github.com/ruby/ruby/blob/0723c107f4fb39f60113b44dd21d875c90da5456/common.mk#L22




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

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

* [ruby-core:92707] [Ruby trunk Misc#15859] Is Unicode in beta?
       [not found] <redmine.issue-15859.20190517134155@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2019-05-17 20:20 ` [ruby-core:92704] " Greg.mpls
@ 2019-05-18  6:22 ` duerst
  2019-05-24  6:15 ` [ruby-core:92816] " duerst
  4 siblings, 0 replies; 5+ messages in thread
From: duerst @ 2019-05-18  6:22 UTC (permalink / raw)
  To: ruby-core

Issue #15859 has been updated by duerst (Martin Dürst).


The `UNICODE_BETA = yes` flag is causing a full download of the relevant `index.html` files to get the actual filenames of the files we need (because in beta, these do change). But we use `If-Modified-Since` even in BETA, so there are no actual downloads if there are no changes, only short connections to the server.

The reason Ruby isn't out of beta has to do with the fact that in the current setup, it's easier to get into beta than out of beta.

----------------------------------------
Misc #15859: Is Unicode in beta?
https://bugs.ruby-lang.org/issues/15859#change-78065

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
I'm not totally sure, but is this flag causing Unicode files to not be cached?

```
UNICODE_BETA = YES
```

https://github.com/ruby/ruby/blob/0723c107f4fb39f60113b44dd21d875c90da5456/common.mk#L22




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

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

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

* [ruby-core:92816] [Ruby trunk Misc#15859] Is Unicode in beta?
       [not found] <redmine.issue-15859.20190517134155@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2019-05-18  6:22 ` [ruby-core:92707] " duerst
@ 2019-05-24  6:15 ` duerst
  4 siblings, 0 replies; 5+ messages in thread
From: duerst @ 2019-05-24  6:15 UTC (permalink / raw)
  To: ruby-core

Issue #15859 has been updated by duerst (Martin Dürst).

Status changed from Open to Closed

Ruby came out of Unicode 12.1 BETA with commit e713c2bde8. So this issue can be closed.

The reason it is more difficult to get out of beta than to enter beta is because the behavior in beta is to always check for new versions of files. That makes sure we are always up to date with respect to Unicode. But the behavior for non-beta is not not really check (because nothing is supposed to change anyway).

This creates two potential problems:
1) Files change from the latest beta to the final version. In this case, if we switched to non-beta at the same time as Unicode, people who had compiled with beta wouldn't pick up the latest changes, but would think they are now on the final version.
2) People who don't recompile Ruby regularly. In this case, they risk to miss a beta version, and risk being on an outdated beta version when we switch to non-beta.

This time around, there were no changes in the data files relevant for Ruby from the last beta to final. So we didn't have to worry about 1). But 2) still was a concern. So we waited and stayed on beta for quite a bit after Unicode itself went out of beta (quite a bit of that delay was also caused by me getting used to git :-().

Fortunately, Unicode Versions are not very frequent, and we usually use UNICODE_BETA = YES only locally, and deploy after Unicode is out of beta. Unicode Version 12.1 was special, because the changes were needed in Japan for the change of the Emperor on May 1st, but Unicode 12.1 only came out of beta about a week later.

----------------------------------------
Misc #15859: Is Unicode in beta?
https://bugs.ruby-lang.org/issues/15859#change-78190

* Author: MSP-Greg (Greg L)
* Status: Closed
* Priority: Normal
* Assignee: 
----------------------------------------
I'm not totally sure, but is this flag causing Unicode files to not be cached?

```
UNICODE_BETA = YES
```

https://github.com/ruby/ruby/blob/0723c107f4fb39f60113b44dd21d875c90da5456/common.mk#L22




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

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

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

end of thread, other threads:[~2019-05-24  6:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-15859.20190517134155@ruby-lang.org>
2019-05-17 13:41 ` [ruby-core:92697] [Ruby trunk Bug#15859] Is Unicode in beta? Greg.mpls
2019-05-17 13:58 ` [ruby-core:92698] [Ruby trunk Misc#15859] " Greg.mpls
2019-05-17 20:20 ` [ruby-core:92704] " Greg.mpls
2019-05-18  6:22 ` [ruby-core:92707] " duerst
2019-05-24  6:15 ` [ruby-core:92816] " duerst

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).