unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Updating tzdata freely
@ 2017-03-09 18:43 Leo Famulari
  2017-03-10 22:33 ` Ludovic Courtès
  2017-03-12 18:14 ` Marius Bakke
  0 siblings, 2 replies; 4+ messages in thread
From: Leo Famulari @ 2017-03-09 18:43 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 913 bytes --]

After creating a special "for tests only" xorg-server package for GTK+'s
test suite recently, I started thinking about what other packages could
receive the same treatment.

Tzdata is an important package to keep up to date. Amazingly, some
governments do announce time zone changes only days or weeks before they
take effect. Without an up-to-date tzdata, users' clocks will be wrong
in those locales.

Currently, updating tzdata will cause about 1400 package rebuilds.
However, if don't use the primary tzdata package in the test suites of
glib and R, a tzdata update will only cause ~388 rebuilds.

I checked that glib and R do not retain any references to tzdata after
they are built, so we could create a tzdata package with a "fixed"
version that will not be updated very often.

So, we could update this package more freely, at the cost of some extra
complexity in package maintenance.

What do you think?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Updating tzdata freely
  2017-03-09 18:43 Updating tzdata freely Leo Famulari
@ 2017-03-10 22:33 ` Ludovic Courtès
  2017-03-12 18:14 ` Marius Bakke
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-03-10 22:33 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Hi!

Leo Famulari <leo@famulari.name> skribis:

> I checked that glib and R do not retain any references to tzdata after
> they are built, so we could create a tzdata package with a "fixed"
> version that will not be updated very often.
>
> So, we could update this package more freely, at the cost of some extra
> complexity in package maintenance.
>
> What do you think?

I think it’s a good idea.

‘guile-2.0/fixed’ in (gnu packages guile) was introduced for the same
reason.

Ludo’.

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

* Re: Updating tzdata freely
  2017-03-09 18:43 Updating tzdata freely Leo Famulari
  2017-03-10 22:33 ` Ludovic Courtès
@ 2017-03-12 18:14 ` Marius Bakke
  2017-03-13  2:32   ` Leo Famulari
  1 sibling, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2017-03-12 18:14 UTC (permalink / raw)
  To: Leo Famulari, guix-devel

[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]

Leo Famulari <leo@famulari.name> writes:

> After creating a special "for tests only" xorg-server package for GTK+'s
> test suite recently, I started thinking about what other packages could
> receive the same treatment.
>
> Tzdata is an important package to keep up to date. Amazingly, some
> governments do announce time zone changes only days or weeks before they
> take effect. Without an up-to-date tzdata, users' clocks will be wrong
> in those locales.
>
> Currently, updating tzdata will cause about 1400 package rebuilds.
> However, if don't use the primary tzdata package in the test suites of
> glib and R, a tzdata update will only cause ~388 rebuilds.
>
> I checked that glib and R do not retain any references to tzdata after
> they are built, so we could create a tzdata package with a "fixed"
> version that will not be updated very often.
>
> So, we could update this package more freely, at the cost of some extra
> complexity in package maintenance.
>
> What do you think?

This sounds good; I was thinking the same after seeing the tzdata update
in core-updates. "libical" still causes a fair amounts of rebuilds, but
it's a lot more manageable than the current 1315 packages :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: Updating tzdata freely
  2017-03-12 18:14 ` Marius Bakke
@ 2017-03-13  2:32   ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2017-03-13  2:32 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 652 bytes --]

On Sun, Mar 12, 2017 at 07:14:55PM +0100, Marius Bakke wrote:
> Leo Famulari <leo@famulari.name> writes:
> > Currently, updating tzdata will cause about 1400 package rebuilds.
> > However, if don't use the primary tzdata package in the test suites of
> > glib and R, a tzdata update will only cause ~388 rebuilds.
> 
> This sounds good; I was thinking the same after seeing the tzdata update
> in core-updates. "libical" still causes a fair amounts of rebuilds, but
> it's a lot more manageable than the current 1315 packages :-)

Yes, it will be a lot more manageable!

I pushed these changes as 3ffaec136fab017e6cc094287da207cf30f05974.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-03-13  2:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 18:43 Updating tzdata freely Leo Famulari
2017-03-10 22:33 ` Ludovic Courtès
2017-03-12 18:14 ` Marius Bakke
2017-03-13  2:32   ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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