public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] gentoo-news repository
@ 2009-10-08  9:08 Ulrich Mueller
  2009-10-08 10:57 ` Alex Alexander
  0 siblings, 1 reply; 8+ messages in thread
From: Ulrich Mueller @ 2009-10-08  9:08 UTC (permalink / raw
  To: gentoo-dev

Some devs have complained about the directory structure in the
gentoo-news being too complicated. News item files are currently found
in a third-level subdirectory:

   YYYY/MM/YYYY-MM-DD-itemname/

On the rsync side the year and month subdirs are absent:

   metadata/news/YYYY-MM-DD-itemname/

After discussion with zmedico (who is maintaining the repo->rsync
script) I propose to remove the month subdirs at least, and possibly
also the year dirs. This change would be invisible to users, who see
only the rsync side.

Opinions?

Ulrich



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

* Re: [gentoo-dev] gentoo-news repository
  2009-10-08  9:08 [gentoo-dev] gentoo-news repository Ulrich Mueller
@ 2009-10-08 10:57 ` Alex Alexander
  2009-10-08 11:07   ` Markos Chandras
  0 siblings, 1 reply; 8+ messages in thread
From: Alex Alexander @ 2009-10-08 10:57 UTC (permalink / raw
  To: gentoo-dev

On Thu, Oct 8, 2009 at 12:08, Ulrich Mueller <ulm@gentoo.org> wrote:
> Opinions?

Sounds good, although it could get a bit crowded if we remove YYYY/,
unless we remove really old items (like >= 2 years old).

-- 
Alex || wired



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

* Re: [gentoo-dev] gentoo-news repository
  2009-10-08 10:57 ` Alex Alexander
@ 2009-10-08 11:07   ` Markos Chandras
  2009-10-08 12:00     ` Alex Alexander
  2010-02-22 11:41     ` Ulrich Mueller
  0 siblings, 2 replies; 8+ messages in thread
From: Markos Chandras @ 2009-10-08 11:07 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 539 bytes --]

On Thursday 08 October 2009 13:57:40 Alex Alexander wrote:
> On Thu, Oct 8, 2009 at 12:08, Ulrich Mueller <ulm@gentoo.org> wrote:
> > Opinions?
> 
> Sounds good, although it could get a bit crowded if we remove YYYY/,
> unless we remove really old items (like >= 2 years old).
> 
Crowded? I don't think so :)
The number of news items is quite small, so I think we can afford having them 
all in the same folder
-- 
Markos Chandras (hwoarang)
Gentoo Linux Developer [KDE/Qt/Sound/Sunrise]
Web: http://hwoarang.silverarrow.org

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-dev] gentoo-news repository
  2009-10-08 11:07   ` Markos Chandras
@ 2009-10-08 12:00     ` Alex Alexander
  2009-10-08 12:29       ` Petteri Räty
  2010-02-22 11:41     ` Ulrich Mueller
  1 sibling, 1 reply; 8+ messages in thread
From: Alex Alexander @ 2009-10-08 12:00 UTC (permalink / raw
  To: gentoo-dev

On Thu, Oct 8, 2009 at 14:07, Markos Chandras <hwoarang@gentoo.org> wrote:
> Crowded? I don't think so :)
> The number of news items is quite small, so I think we can afford having them
> all in the same folder

I'm assuming devs will eventually pick this feature up and use it more often :)

But yeah, as long as someone cleans up *really* old items, it
shouldn't be a problem.

-- 
Alex || wired



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

* Re: [gentoo-dev] gentoo-news repository
  2009-10-08 12:00     ` Alex Alexander
@ 2009-10-08 12:29       ` Petteri Räty
  2009-10-08 13:26         ` Ciaran McCreesh
  2009-10-08 13:29         ` Ulrich Mueller
  0 siblings, 2 replies; 8+ messages in thread
From: Petteri Räty @ 2009-10-08 12:29 UTC (permalink / raw
  To: gentoo-dev

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

Alex Alexander wrote:
> On Thu, Oct 8, 2009 at 14:07, Markos Chandras <hwoarang@gentoo.org> wrote:
>> Crowded? I don't think so :)
>> The number of news items is quite small, so I think we can afford having them
>> all in the same folder
> 
> I'm assuming devs will eventually pick this feature up and use it more often :)
> 
> But yeah, as long as someone cleans up *really* old items, it
> shouldn't be a problem.
> 

I was planning to ask this already but now is a good time too. Last time
we tried to remove a news item the client broke. Has the client since
been fixed and in stable long enough to presume that most users have
upgraded?

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

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

* Re: [gentoo-dev] gentoo-news repository
  2009-10-08 12:29       ` Petteri Räty
@ 2009-10-08 13:26         ` Ciaran McCreesh
  2009-10-08 13:29         ` Ulrich Mueller
  1 sibling, 0 replies; 8+ messages in thread
From: Ciaran McCreesh @ 2009-10-08 13:26 UTC (permalink / raw
  To: gentoo-dev

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

On Thu, 08 Oct 2009 15:29:25 +0300
Petteri Räty <betelgeuse@gentoo.org> wrote:
> I was planning to ask this already but now is a good time too. Last
> time we tried to remove a news item the client broke. Has the client
> since been fixed and in stable long enough to presume that most users
> have upgraded?

No (under certain specific circumstances), but...

https://bugs.gentoo.org/show_bug.cgi?id=287887

-- 
Ciaran McCreesh

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

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

* Re: [gentoo-dev] gentoo-news repository
  2009-10-08 12:29       ` Petteri Räty
  2009-10-08 13:26         ` Ciaran McCreesh
@ 2009-10-08 13:29         ` Ulrich Mueller
  1 sibling, 0 replies; 8+ messages in thread
From: Ulrich Mueller @ 2009-10-08 13:29 UTC (permalink / raw
  To: gentoo-dev

>>>>> On Thu, 08 Oct 2009, Petteri Räty wrote:

> I was planning to ask this already but now is a good time too. Last
> time we tried to remove a news item the client broke. Has the client
> since been fixed and in stable long enough to presume that most
> users have upgraded?

The news module in eselect-1.2.3 (which is being stabilised and is
also included in the 10.0 release) doesn't fail any more if a news
item was removed.

See also bug 287887 [1] for a discussion how removed items should be
handled.

Ulrich

[1] <http://bugs.gentoo.org/show_bug.cgi?id=287887>



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

* Re: [gentoo-dev] gentoo-news repository
  2009-10-08 11:07   ` Markos Chandras
  2009-10-08 12:00     ` Alex Alexander
@ 2010-02-22 11:41     ` Ulrich Mueller
  1 sibling, 0 replies; 8+ messages in thread
From: Ulrich Mueller @ 2010-02-22 11:41 UTC (permalink / raw
  To: gentoo-dev

>>>>> On Thu, 8 Oct 2009, Markos Chandras wrote:
> On Thursday 08 October 2009 13:57:40 Alex Alexander wrote:
>> On Thu, Oct 8, 2009 at 12:08, Ulrich Mueller <ulm@gentoo.org> wrote:

>>> Some devs have complained about the directory structure in the
>>> gentoo-news being too complicated. News item files are currently
>>> found in a third-level subdirectory:

>>>    YYYY/MM/YYYY-MM-DD-itemname/

>>> On the rsync side the year and month subdirs are absent:

>>>    metadata/news/YYYY-MM-DD-itemname/

>>> After discussion with zmedico (who is maintaining the repo->rsync
>>> script) I propose to remove the month subdirs at least, and
>>> possibly also the year dirs. This change would be invisible to
>>> users, who see only the rsync side.

>>> Opinions?

>> Sounds good, although it could get a bit crowded if we remove YYYY/,
>> unless we remove really old items (like >= 2 years old).

> Crowded? I don't think so :)
> The number of news items is quite small, so I think we can afford
> having them all in the same folder

Coming back to this: Seems that there is consensus to remove the month
subdirectories. So I have moved everything up by one directory level,
news items now live in:

   YYYY/YYYY-MM-DD-itemname/

The rsync-gen.sh script has been updated by Zac who will also take
care of GLEP 42.

Ulrich



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

end of thread, other threads:[~2010-02-22 12:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08  9:08 [gentoo-dev] gentoo-news repository Ulrich Mueller
2009-10-08 10:57 ` Alex Alexander
2009-10-08 11:07   ` Markos Chandras
2009-10-08 12:00     ` Alex Alexander
2009-10-08 12:29       ` Petteri Räty
2009-10-08 13:26         ` Ciaran McCreesh
2009-10-08 13:29         ` Ulrich Mueller
2010-02-22 11:41     ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox