List Info

Thread: Re: patch for 0.6.0.20070501-2:frontpage_controller




Re: patch for 0.6.0.20070501-2:frontpage_controller
user name
2007-05-05 07:36:07
On 5/2/07, boud <boudriseup.net> wrote:
> i see that the restructuring has been quite deep  but that
from a
> naive user point of view, nothing much obvious has
changed (which is
> good), apart from the missing choice of changing
languages. i've only
> had a quick look so far, though.

Well spotted, let us know if find that anything else that
has gone
missing, the refactoring was intended to only change code
structure,
not functionality.

> Ah yes, my subjective impression agrees with the
benchmarks: frontpage
> reloading does seem to be faster now.

I think it must be a more efficent use of cache, most likely
around
ResourceComponent classes. Finer-grained cache locking can
also
attribute to this somewhat.

> (1) COMMENT:
>
> After updating with
>    aptitude update && aptitude upgrade
> adding the template section to defaults.yaml as
recommended, i got in my
> browser:
>    Forbidden
>    You don't have permission to access / on this
server.
>
> So i read
>    NEWS.Debian.gz
> and updated my apache config + database - relatively
straightforward.
> This got things looking reasonably normal.
>
> i don't know whether the debian standard expects this
sort of update
> caveat to be given as a warning to the sysadmin running
aptitude or
> whether the sysadmin is expected to read obvious files
in
> /usr/share/doc/<packet>/  when a problem occurs.

The approach varies between packages and maintainers,
personally I
don't like auto-generated config files very much and I
prefer to leave
the updating to the sysadmin unless I can be 100% sure that
the
automated way will always work. And yes, you are supposed to
read
NEWS.Debian when upgrading a package, even if it doesn't
break
immediately after upgrade.

> (2) PATCH for frontpage_controller:
>
> BUG: language_list was missing :(((, and language_list
gave an old style
> URL member.rb?set_lang= which fails
>
> FIX:
> * add language_list
> * change from old style URL to new style URL

Thanks, this is definitely a bug, I've merged in your fix
and will
upload a new snapshot later today (I want to trace down and
fix a
weird bug in message moderation first).

-- 
Dmitry Borodaenko


_______________________________________________
samizdat-devel mailing list
samizdat-develnongnu.org
http://lists.nongnu.org/mailman/listinfo/samizdat-devel

Re: patch for 0.6.0.20070501-2:frontpage_controller
user name
2007-05-05 16:08:04
hi dmitry, all,


On Sat, 5 May 2007, Dmitry Borodaenko wrote:

> On 5/2/07, boud <boudriseup.net> wrote:

>> (1) COMMENT:
>> 
>> After updating with
>>    aptitude update && aptitude upgrade
>> adding the template section to defaults.yaml as
recommended, i got in my
>> browser:
>>    Forbidden
>>    You don't have permission to access / on this
server.
>> 
>> So i read
>>    NEWS.Debian.gz
>> and updated my apache config + database -
relatively straightforward.
>> This got things looking reasonably normal.
>> 
>> i don't know whether the debian standard expects
this sort of update
>> caveat to be given as a warning to the sysadmin
running aptitude or
>> whether the sysadmin is expected to read obvious
files in
>> /usr/share/doc/<packet>/  when a problem
occurs.
>
> The approach varies between packages and maintainers,
personally I
> don't like auto-generated config files very much and I
prefer to leave
> the updating to the sysadmin unless I can be 100% sure
that the

i didn't mean to auto-generate the config file in the debian
package.
i rather meant just to give a warning to the sysadmin who is
updating
interactively. The only option s/he will have is to click OK
;) - i'm
not sure offhand which packages have this type of messages,
but i know
that some do - it can even be: "Warning: there are some
important changes
in version 0.6.0-20070501 - your installation will probably
fail unless
you follow the recommendations in
/usr/share/doc/samizdat/NEWS.Debian."

> automated way will always work. And yes, you are
supposed to read
> NEWS.Debian when upgrading a package, even if it
doesn't break
> immediately after upgrade.

Even when an upgrade gives 10-20 packages modified?  Well, i
guess
there's a difference between stable and testing/unstable and
experimental.

On a related topic, what are the plans for getting samizdat
from unstable
into the full unstable -> testing cycle, so that in 18-24
months' time
samizdat will get into stable?


>> (2) PATCH for frontpage_controller:
>> 
>> BUG: language_list was missing :(((, and
language_list gave an old style
>> URL member.rb?set_lang= which fails
>> 
>> FIX:
>> * add language_list
>> * change from old style URL to new style URL
>
> Thanks, this is definitely a bug, I've merged in your
fix and will
> upload a new snapshot later today (I want to trace down
and fix a
> weird bug in message moderation first).

Cool .

cheers
boud


_______________________________________________
samizdat-devel mailing list
samizdat-develnongnu.org
http://lists.nongnu.org/mailman/listinfo/samizdat-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )