Not clear how to set date released for a distroseries...

Asked by Kate Stewart

Jeremy Kerr was trying to use the launchpad API datereleased field, but it appears to not be be set in

However it is set in:

In working through the release process, and checking with some of the other release team members, we're not sure how this field has been set in the past. see:

1) can this field please be updated to reflect that natty went out on Thu Apr 28 11:36:14 UTC 2011

2) how should this field be set in future? what interface should be used? should this be something that the series owner does, or launchpad member?

Question information

English Edit question
Launchpad itself Edit question
Curtis Hovey Edit question
Last query:
Last reply:
Revision history for this message
Deryck Hodge (deryck) said :

Converting this to a question, since it's a request for info and data change. Someone should pick this up shortly and act on it.

Revision history for this message
Curtis Hovey (sinzui) said :

The daterelease field is not directly setable. It is implicitly set in the when the series status is set to CURRENT using the web UI. Registry Administrators can change the field using an API script. I update natty with this script:
def fix_series_release_date():
    lp = Launchpad.login_with(
        'fix-series', '', version='devel')
    ubuntu = lp.distributions['ubuntu']
    natty = ubuntu.getSeries(name_or_version='natty')
    print "current release date is ", natty.datereleased
    new_release_date = datetime(2011, 4, 28, 11, 36, 14, 0, pytz.UTC)
    natty.datereleased = new_release_date
    print "release date set to %s" % new_release_date

The underlying issue here is that Ubuntu once has hundreds of members in its owning team so the Ubuntu and its series were locked down to prevent people from make erroneous changes. There have been many team changes made since then and I think we can consider changing distroseries to permit series drivers (RMs) to change all these fields: version name status nominatedarchindep changeslist datereleased

Ubuntu is owned by 42 people (~ubuntu-drivers) The series are owned by 22 people (~ubuntu-release) These teams are largely the same except for ~canonical-qa who are members of ~ubuntu-release.

Can you help with this problem?

Provide an answer of your own, or ask Kate Stewart for more information if necessary.

To post a message you must log in.