[Soc-coordination] [Package Tracking System rewrite] Week 11 - August 30 - Status Report

Marko Lalic marko.lalic at gmail.com
Fri Aug 30 23:21:55 UTC 2013


Hello,

The previous week didn't go quite as planned. I ran into some problems
with implementing the source to source dependency resolution in a way
that would fit in with the new PTS data models, which ended up using
quite a bit of my time.

The planned stories which were completed:

- Package versions found in the NEW queue displayed in the versions
panel. Each target distribution for which that package has a package
in the queue is displayed as a repository with the name
NEW/<target-dist>.

- Updated URL structure. Package pages now found at
/pkg/<package-name>. The top-level URL redirects to the package page
unless there is a preceding URL rule (e.g. /admin/, /docs/).

- Research how to integrate sso.debian.org authentication. Apart from
being able to estimate the time necessary to implement this story,
this led to refining some other stories in the backlog, as well.

The memory usage of the new mail dispatch management command was
compared to the memory usage of the old PTS's dispatch, with the
results being presented in a blog post [1].

Also some administrative tasks regarding the test deployment needed to
be taken care of: exim was reconfigured to use a configuration similar
to the one currently being used on packages.q.d.o (a virtual domain
with multiple .forward files for different target mail addresses
dictating how the messages are delivered).

For this week the plan is to resolve the blocking issues for
implementing the source to source dependencies in consultation with my
mentors. Then, apart from the stories left over from the previous week
(repeated here for completeness) an additional two are planned.

- Create account. The account is created after a user provides his
email and confirms it by clicking on a link provided in a confirmation
email. After the email is confirmed, the user is asked to set his
password.

- Log in. Unsurprisingly -- log the user in after the account details
are provided and redirect him to a profile page.

- Account subscriptions list. Displays a list of packages the user is
subscribed to along with the keywords associated with each
subscription.

- Subscribe to a package. Logged in users can subscribe to a package
directly from the package page. Alternatively, they can subscribe to
any package directly from their subscription list by providing the
package name in an input form. The form uses autocomplete, like the
current package search form.

- Modify subscription keywords and default keywords. This is an
alternative to the email interface keyword command. Allows the user to
change which package emails are forwarded to him.

- Unsubscribe from a package. Available directly from a package page
(if the user is subscribed) or from the list of all package
subscriptions.

- Change password and name. Logged in users can change their account details.

- Log out.

Thanks for reading.

Cheers,
Marko

[1] http://mlalic.blogspot.com/2013/08/pts-rewrite-django-memory-usage.html

-- 
Marko Lalić



More information about the Soc-coordination mailing list