Differences between revisions 2 and 32 (spanning 30 versions)
Revision 2 as of 2013-09-15 15:44:18
Size: 1332
Editor: EnricoZini
Comment: More verbose
Revision 32 as of 2014-03-19 18:39:12
Size: 3051
Editor: EnricoZini
Comment: New entries
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== contributors.debian.org website development == = contributors.debian.org website development =

See http://contributors.debian.org/ for the instance currently deployed.

See also http://www.enricozini.org/2013/debian/debian-contributors-right-after-debconf/ for some background.

This website TODO list contains only those items that can clearly be worked on right now, and is used as coordination between the people working on the site.

Generic wishlists, things that require large changes in the site, or things that need a lot of discussion before being implemented, are tracked on the [[http://bugs.debian.org/nm.debian.org|BTS]].
Line 5: Line 13:
This website TODO list contains only those items that can clearly be worked on right now, and is used as coordination between the people working on the site. Add a nullable display_name field to the User model, and allow users to edit it.
Change User.get_full_name to return display_name as a first choice, falling back to email if it is None.
----
During maintenance, scan names from GECOS / LDAP and add them to missing first/last names in User.
----
The layout of the editing forms /sources/update/NAME can still be improved; errors should be laid out so they stand out, spacing is unnecessary.
----
Add an interface for people logged in to claim an email addresses, with a url being sent to that email address to confirm the claim. This needs a new model for pending claims, the code to send the mail and a view to accept the confirmations.
----
Add a new Source.data_since field to Source, DateField(null=True), which when present means that there are contributors from before that date, but data is only available since that date. When showing contributions, if c.since<=data_since then show "Since records began" instead of a date.
----
`Identifier.get_absolute_url` with a page listing details about an identifier, like all known contributions.
----
Autodetect compression type from uploaded file name, if available. This allows to just use {{{curl -F data=@file.json.gz}}} without needing {{{-F data_compression=gzip}}}.
Look into {{{contributors/importer.py}}} {{{ValidatingDict.get_data}}}: f is a Django UploadedFile object with a {{{.name}}} attribute.
Line 7: Line 29:
Generic wishlists, things that require large changes in the site, or things that need a lot of discussion before being implemented, are tracked on the [[http://bugs.debian.org/nm.debian.org|BTS]] instead. == Desired data sources ==
Line 9: Line 31:
=== TODO list items ===

----
Create an interface to add new data sources and edit existing ones.
For each source, we also need to edit the various contribution types.
----
Create a POST interface to submit data from a data source. See contributors/importer for the code used to import the data that gets submitted.
The POSTed data needs to contain the auth_token defined in the matching Source record.
 * [[http://lists.debian.org/debian-dak/2013/11/msg00006.html|dak]]
 * Debconf volunteers - not sure how to grab this?
    * via penta, where all the debconf volunteers for the different internal teams are registered
 * nm-site-devel (scanning git log, or the mailing list, should do)
Line 21: Line 39:
 * [[http://anonscm.debian.org/gitweb/?p=dc/dc.git;a=blob;f=README.md|Getting started with contributors.debian.org development]] (still to be written, it's basically just syncdb and migrate now, there is no test data atm)  * [[http://anonscm.debian.org/gitweb/?p=nm/dc.git;a=blob;f=README.md|Getting started with contributors.debian.org development]]
Line 23: Line 41:
 * [[http://lists.alioth.debian.org/pipermail/newmaint-site/Week-of-Mon-20131028/000032.html|contributors.debian.org milestones]]
 * Data model: [[attachment:nm-dc.png]] (graphed with {{{sqlt-graph}}} from {{{manage.py sqlall contributors}}}
 * How to create a new data source: DebianContributors

contributors.debian.org website development

See http://contributors.debian.org/ for the instance currently deployed.

See also http://www.enricozini.org/2013/debian/debian-contributors-right-after-debconf/ for some background.

This website TODO list contains only those items that can clearly be worked on right now, and is used as coordination between the people working on the site.

Generic wishlists, things that require large changes in the site, or things that need a lot of discussion before being implemented, are tracked on the BTS.

TODO list

Add a nullable display_name field to the User model, and allow users to edit it. Change User.get_full_name to return display_name as a first choice, falling back to email if it is None.


During maintenance, scan names from GECOS / LDAP and add them to missing first/last names in User.


The layout of the editing forms /sources/update/NAME can still be improved; errors should be laid out so they stand out, spacing is unnecessary.


Add an interface for people logged in to claim an email addresses, with a url being sent to that email address to confirm the claim. This needs a new model for pending claims, the code to send the mail and a view to accept the confirmations.


Add a new Source.data_since field to Source, ?DateField(null=True), which when present means that there are contributors from before that date, but data is only available since that date. When showing contributions, if c.since<=data_since then show "Since records began" instead of a date.


Identifier.get_absolute_url with a page listing details about an identifier, like all known contributions.


Autodetect compression type from uploaded file name, if available. This allows to just use curl -F data=@file.json.gz without needing -F data_compression=gzip. Look into contributors/importer.py ValidatingDict.get_data: f is a Django ?UploadedFile object with a .name attribute.

Desired data sources

  • dak

  • Debconf volunteers - not sure how to grab this?
    • via penta, where all the debconf volunteers for the different internal teams are registered
  • nm-site-devel (scanning git log, or the mailing list, should do)

Resources