Re: behaviour change in download.kde.org - was - Re: KDE Frameworks 5.36.0

2017-07-11 Thread Ben Cooksley
On Tue, Jul 11, 2017 at 10:19 PM, Harald Sitter  wrote:
> On Tue, Jul 11, 2017 at 12:05 PM, David Faure  wrote:
>> On mardi 11 juillet 2017 11:52:19 CEST Harald Sitter wrote:
>>> Seems most likely the directory wasn't actually 750.
>>
>> I always create it with
>>   mkdir $dest
>>   chmod o-rx $dest
>>
>> which, on racnoss.kde.org, leads to
>> drwxr-x--- 2 ftpadmin packager   2 Jul 11 10:04 testdir
>
> So it is 750 after all. That does seem odd then.
> I've just tried with the neon archive user on racnoss to eliminate
> apache as a possible cause. When marking a dir 750 in the neon archive
> it is not indexed, adding +x it gets indexed as expected.
>
> https://origin.archive.neon.kde.org/.test/
>
> This dir has
>
> drwxr-x--- 2 neonarchives neonarchives  2 Jul 11 10:15 750/
> drwxr-x--x 2 neonarchives neonarchives  2 Jul 11 10:15 751/
>
> Something must be astray with the setup of the download.kde.org vhost :S

It is slightly different, in so far that the following directives are
passed to Apache:

DirectoryIndex disabled
IndexOptions HTMLTable SuppressColumnsorting SuppressHTMLPreamble
FancyIndexing XHTML NameWidth=80 FoldersFirst SuppressDescription
Metalink MirrorList VersionSort

My guess would be some of these may be the cause, even though they
shouldn't make a difference.

>
> HS

Regards,
Ben


Re: behaviour change in download.kde.org - was - Re: KDE Frameworks 5.36.0

2017-07-11 Thread Harald Sitter
On Tue, Jul 11, 2017 at 12:05 PM, David Faure  wrote:
> On mardi 11 juillet 2017 11:52:19 CEST Harald Sitter wrote:
>> Seems most likely the directory wasn't actually 750.
>
> I always create it with
>   mkdir $dest
>   chmod o-rx $dest
>
> which, on racnoss.kde.org, leads to
> drwxr-x--- 2 ftpadmin packager   2 Jul 11 10:04 testdir

So it is 750 after all. That does seem odd then.
I've just tried with the neon archive user on racnoss to eliminate
apache as a possible cause. When marking a dir 750 in the neon archive
it is not indexed, adding +x it gets indexed as expected.

https://origin.archive.neon.kde.org/.test/

This dir has

drwxr-x--- 2 neonarchives neonarchives  2 Jul 11 10:15 750/
drwxr-x--x 2 neonarchives neonarchives  2 Jul 11 10:15 751/

Something must be astray with the setup of the download.kde.org vhost :S

HS


Re: behaviour change in download.kde.org - was - Re: KDE Frameworks 5.36.0

2017-07-11 Thread David Faure
On mardi 11 juillet 2017 11:52:19 CEST Harald Sitter wrote:
> Seems most likely the directory wasn't actually 750.

I always create it with
  mkdir $dest
  chmod o-rx $dest

which, on racnoss.kde.org, leads to
drwxr-x--- 2 ftpadmin packager   2 Jul 11 10:04 testdir

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



Re: behaviour change in download.kde.org - was - Re: KDE Frameworks 5.36.0

2017-07-11 Thread Ben Cooksley
On Tue, Jul 11, 2017 at 9:14 PM, Maximiliano Curia
 wrote:
> ¡Hola Ben!

Hi Maximiliano,

>
> El 2017-07-11 a las 20:10 +1200, Ben Cooksley escribió:
>>
>> Not to my knowledge - the last change to the system was back in February
>> this year. I've done some searching and Apache doesn't appear to support not
>> including an inaccessible directory in a listing of files.
>
>
> If the change was introduced in february that would explain why I haven't
> noticed so far. While Debian was on deep freeze I stopped checking for new
> upstream releases, and restarted checking them now.

Okay. My guess would be that something deep within Apache has changed
behaviour wise unless something else was amiss.

Configuration wise the machines are essentially identical (the change
in February was a major system upgrade and physical host change) the
only change was a major jump in versions.

>
> Happy hacking,
> --
> "If a pickpocket meets a saint, he sees only his pockets."
> -- Kegley's Law
> Saludos /\/\ /\ >< `/

Regards,
Ben


Re: behaviour change in download.kde.org - was - Re: KDE Frameworks 5.36.0

2017-07-11 Thread Harald Sitter
On Mon, Jul 10, 2017 at 11:17 PM, Albert Astals Cid  wrote:
> El dilluns, 10 de juliol de 2017, a les 11:32:41 CEST, David Faure va
> escriure:
>> On vendredi 7 juillet 2017 15:51:41 CEST Maximiliano Curia wrote:
>> > ¡Hola David!
>> >
>> > El 2017-07-03 a las 02:18 +0200, David Faure escribió:
>> > > KDE Frameworks 5.36.0 has been uploaded to the usual place.
>> > >
>> > > New frameworks: none this time.
>> > >
>> > > Public release next Saturday.
>> > >
>> > > Thanks for the packaging work!
>> >
>> > Currently, 5.36 is listed in https://download.kde.org/stable/frameworks/
>> > but it gives 403 to try to access it. This is a bit of an annoyance for
>> > some of my scripts.
>> >
>> > If possible, could you please add the folder only when it's published?
>>
>> That folder is where the packagers get the tarballs from (using scp, not
>> public http), so I don't see how to do that.
>>
>> It's always been that way : for one week, the folder is there but without
>> permissions for the whole world just yet.
>>
>> (always = not just for KF5, but also for KDE SC releases, as far back as I
>> can remember)
>
> I'm 94.29% sure that previously stuff that was chmod 750 and belonging to
> ftpadmin:packager did not show in the http listing.

Seems most likely the directory wasn't actually 750.

Apache entirely holds on to view permission rather than read permission.

drwxr-x---  2 rootroot4096 Jul 11 09:33 750/
drwxr-x--x  2 rootroot4096 Jul 11 09:33 751/
drwxr-x-w-  2 rootroot4096 Jul 11 09:34 752/
drwxr-x-wx  2 rootroot4096 Jul 11 09:34 753/
drwxr-xr--  2 rootroot4096 Jul 11 09:34 754/
drwxr-xr-x  2 rootroot4096 Jul 11 09:34 755/

Being index by apache thusly

751/2017-07-11 09:33-
753/2017-07-11 09:34-
755/2017-07-11 09:34-

So, apache ignores all directories which aren't +x for apache's user.
Directories which are +x are listed but not necessarily readable (e.g.
751 results in HTTP 403 Forbidden).

TLDR: if the dir is -x it won't show up in the index, if it is +x it will.

HS


Re: behaviour change in download.kde.org - was - Re: KDE Frameworks 5.36.0

2017-07-11 Thread Maximiliano Curia

¡Hola Ben!

El 2017-07-11 a las 20:10 +1200, Ben Cooksley escribió:
Not to my knowledge - the last change to the system was back in 
February this year. 
I've done some searching and Apache doesn't appear to support not 
including an inaccessible directory in a listing of files.


If the change was introduced in february that would explain why I haven't 
noticed so far. While Debian was on deep freeze I stopped checking for new 
upstream releases, and restarted checking them now.


Happy hacking,
--
"If a pickpocket meets a saint, he sees only his pockets."
-- Kegley's Law
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Re: behaviour change in download.kde.org - was - Re: KDE Frameworks 5.36.0

2017-07-11 Thread Ben Cooksley
On Tue, Jul 11, 2017 at 9:17 AM, Albert Astals Cid  wrote:
> El dilluns, 10 de juliol de 2017, a les 11:32:41 CEST, David Faure va
> escriure:
>> On vendredi 7 juillet 2017 15:51:41 CEST Maximiliano Curia wrote:
>> > ¡Hola David!
>> >
>> > El 2017-07-03 a las 02:18 +0200, David Faure escribió:
>> > > KDE Frameworks 5.36.0 has been uploaded to the usual place.
>> > >
>> > > New frameworks: none this time.
>> > >
>> > > Public release next Saturday.
>> > >
>> > > Thanks for the packaging work!
>> >
>> > Currently, 5.36 is listed in https://download.kde.org/stable/frameworks/
>> > but it gives 403 to try to access it. This is a bit of an annoyance for
>> > some of my scripts.
>> >
>> > If possible, could you please add the folder only when it's published?
>>
>> That folder is where the packagers get the tarballs from (using scp, not
>> public http), so I don't see how to do that.
>>
>> It's always been that way : for one week, the folder is there but without
>> permissions for the whole world just yet.
>>
>> (always = not just for KF5, but also for KDE SC releases, as far back as I
>> can remember)
>

Hi Albert,

> I'm 94.29% sure that previously stuff that was chmod 750 and belonging to
> ftpadmin:packager did not show in the http listing.
>
> sysadmins has there been an update to the code serving the download.kde.org
> listings?

Not to my knowledge - the last change to the system was back in
February this year.
I've done some searching and Apache doesn't appear to support not
including an inaccessible directory in a listing of files.

>
> Cheers,
>   Albert

Cheers,
Ben


behaviour change in download.kde.org - was - Re: KDE Frameworks 5.36.0

2017-07-10 Thread Albert Astals Cid
El dilluns, 10 de juliol de 2017, a les 11:32:41 CEST, David Faure va 
escriure:
> On vendredi 7 juillet 2017 15:51:41 CEST Maximiliano Curia wrote:
> > ¡Hola David!
> > 
> > El 2017-07-03 a las 02:18 +0200, David Faure escribió:
> > > KDE Frameworks 5.36.0 has been uploaded to the usual place.
> > > 
> > > New frameworks: none this time.
> > > 
> > > Public release next Saturday.
> > > 
> > > Thanks for the packaging work!
> > 
> > Currently, 5.36 is listed in https://download.kde.org/stable/frameworks/
> > but it gives 403 to try to access it. This is a bit of an annoyance for
> > some of my scripts.
> > 
> > If possible, could you please add the folder only when it's published?
> 
> That folder is where the packagers get the tarballs from (using scp, not
> public http), so I don't see how to do that.
> 
> It's always been that way : for one week, the folder is there but without
> permissions for the whole world just yet.
> 
> (always = not just for KF5, but also for KDE SC releases, as far back as I
> can remember)

I'm 94.29% sure that previously stuff that was chmod 750 and belonging to 
ftpadmin:packager did not show in the http listing.

sysadmins has there been an update to the code serving the download.kde.org 
listings?

Cheers,
  Albert


Re: KDE Frameworks 5.36.0

2017-07-10 Thread David Faure
On vendredi 7 juillet 2017 15:51:41 CEST Maximiliano Curia wrote:
> ¡Hola David!
> 
> El 2017-07-03 a las 02:18 +0200, David Faure escribió:
> > KDE Frameworks 5.36.0 has been uploaded to the usual place.
> > 
> > New frameworks: none this time.
> > 
> > Public release next Saturday.
> > 
> > Thanks for the packaging work!
> 
> Currently, 5.36 is listed in https://download.kde.org/stable/frameworks/ but
> it gives 403 to try to access it. This is a bit of an annoyance for some of
> my scripts.
> 
> If possible, could you please add the folder only when it's published?

That folder is where the packagers get the tarballs from (using scp, not 
public http), so I don't see how to do that.

It's always been that way : for one week, the folder is there but without 
permissions for the whole world just yet.

(always = not just for KF5, but also for KDE SC releases, as far back as I can 
remember)

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



Re: KDE Frameworks 5.36.0

2017-07-09 Thread Maximiliano Curia

¡Hola David!

El 2017-07-03 a las 02:18 +0200, David Faure escribió:

KDE Frameworks 5.36.0 has been uploaded to the usual place.



New frameworks: none this time.



Public release next Saturday.



Thanks for the packaging work!


Currently, 5.36 is listed in https://download.kde.org/stable/frameworks/ but 
it gives 403 to try to access it. This is a bit of an annoyance for some of my 
scripts.


If possible, could you please add the folder only when it's published?

Happy hacking,
--
"Brilliant opportunities are cleverly disguised as insolvable problems."
-- Gardener's Philosophy

"The reverse is also true." -- Corollary
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Re: KDE Frameworks 5.36.0 (updated tarballs)

2017-07-06 Thread David Faure
On mercredi 5 juillet 2017 22:44:09 CEST Anke Boersma wrote:
> Hi
> Looks like a respin of knewstuff 5.36.0 might be needed, plasma will crash
> when trying to search and download new widgets, backtrace:
> https://paste.ee/p/rqg1k
> 
> Adding the last 2 commits from today for knewstuff fixes the issue:
> https://cgit.kde.org/knewstuff.git/commit/?id=e98a2e4b6f0042c10a31023ef37a3534832135b6

OK.

> https://cgit.kde.org/knewstuff.git/commit/?id=7b59f50ad99dc988fa60a3949ac6d458c42945ba

I don't see how that commit could possibly be relevant (but I noticed after 
making rc2 with it, so it's in anyway).


knewstuff v5.36.0-rc2
9f863a1bad3a3a861b6574fe6b8cd95138d61971
f17bc9cc0852c3a4433e1ffaeb88ad7af3611a9ec95409c391b39fa57e84da5d  
sources/knewstuff-5.36.0.tar.xz


ki18n also updated, as per Luigi's email:

ki18n v5.36.0-rc2
080f4c410e3fd46d6374bc2981000278e9606126
c0c9877a7c4f4d0630e934a903cc27fd127d0be63531c50ea77d63e10119558b  
sources/ki18n-5.36.0.tar.xz

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



Re: KDE Frameworks 5.36.0

2017-07-06 Thread Luigi Toscano
David Faure ha scritto:
> Dear packagers,
> 
> KDE Frameworks 5.36.0 has been uploaded to the usual place.

I wouldd like to request a backport for KI18n:
https://commits.kde.org/ki18n/77eab970fde3ecbc259d6deff61fce4f360b05a7

See here for the context:
http://marc.info/?l=kde-i18n-doc=149803571612967=1

Ciao
-- 
Luigi


Re: KDE Frameworks 5.36.0

2017-07-05 Thread Anke Boersma
Hi
Looks like a respin of knewstuff 5.36.0 might be needed, plasma will crash
when trying to search and download new widgets, backtrace:
https://paste.ee/p/rqg1k

Adding the last 2 commits from today for knewstuff fixes the issue:
https://cgit.kde.org/knewstuff.git/commit/?id=e98a2e4b6f0042c10a31023ef37a3534832135b6
https://cgit.kde.org/knewstuff.git/commit/?id=7b59f50ad99dc988fa60a3949ac6d458c42945ba

Anke


On Sun, Jul 2, 2017 at 7:18 PM, David Faure  wrote:

> Dear packagers,
>
> KDE Frameworks 5.36.0 has been uploaded to the usual place.
>
> New frameworks: none this time.
>
> Public release next Saturday.
>
> Thanks for the packaging work!
>
> --
> David Faure, fa...@kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>