Merge lp://staging/~mhall119/summit/linaro-attendee-import into lp://staging/summit

Proposed by Michael Hall
Status: Merged
Approved by: Chris Johnston
Approved revision: 365
Merged at revision: 366
Proposed branch: lp://staging/~mhall119/summit/linaro-attendee-import
Merge into: lp://staging/summit
Diff against target: 127 lines (+123/-0)
1 file modified
summit/common/management/commands/linaro-import.py (+123/-0)
To merge this branch: bzr merge lp://staging/~mhall119/summit/linaro-attendee-import
Reviewer Review Type Date Requested Status
Chris Johnston Approve
Review via email: mp+101747@code.staging.launchpad.net

Commit message

Management command for importing Linaro attendees

Description of the change

  Management command for importing Linaro attendees from a spreadsheet
  exported to csv.

  Example:
  manage.py linaro-import -s lcq1-12 -f linaro_attendees.csv

To post a comment you must log in.
341. By Michael Hall

[r=chrisjohnston] Fixes ical generation for old summits

342. By Chris Johnston

[r=] Fixes force_insert error when saving meetings

343. By Chris Johnston

Version 1.1.1 release

344. By Chris Johnston

[r=mhall119] Removes remaining if Linaro's

345. By Chris Johnston

[r=mhall119] Switches the track view from a grid layout to a agenda style layout.

346. By Chris Johnston

[r=mhall119] Changes the by room grid view into an agenda view.

347. By Michael Hall

[r=chrisjohnston] Add ability for Track leads to manage their own scheduled until the week before the Summit (or the day of for Ubuntu)

348. By Michael Hall

[r=chrisjohnston] Only make approved meetings available for manual scheduling

349. By Chris Johnston

[r=mhall119] Removing old code to clean things up.. Less old code, less breakage?

350. By James Tunnicliffe

[r=chrisjohnston] The wide view now always auto-refreshes.

351. By Chris Johnston

[r=dooferlad] Removes topic code from Summit

352. By Chris Johnston

[r=chrisjohnston] Removes more old , commented out code

353. By Chris Johnston

[r=dooferlad] Adds markup to Summit

354. By Chris Johnston

[r=chrisjohnston] Makes schedule page refresh on interval unless schedule.edit

355. By Chris Johnston

[r=chrisjohnston] Bump for Linaro theme revno

356. By Chris Johnston

Version 1.1.2 release

357. By Chris Johnston

[r=mhall119] Begins preparing for upgrading to django 1.4 by using staticfiles

358. By Chris Johnston

[r=chrisjohnston] Adds externals for reference

359. By Chris Johnston

[r=chrisjohnston] Updates import_live_data to include a bunch of data that was missing

360. By Adnane Belmadiaf

[r=mhall119] Added nice css to the meeting details tooltips

361. By Chris Johnston

[r=dooferlad] Adds support for newline on meetings imported from LP blueprints

362. By Chris Johnston

[r=nigelbabu] Removes twidenash in favor of a js provided by Twitter.

Revision history for this message
Данило Шеган (danilo) wrote :

Hi Michael, thanks for working on this.

The output format that we are going to get is along the lines of:

display_name,launchpad_url,launchpad_username
"Danilo Šegan","https://login.launchpad.net/+id/mtFCc43","danilo"
"Someone Else","https://login.launchpad.net/+id/xxxxxxx",""
...

I am asking to get it extended to have 'attendance_from_date', 'attendance_from_time', 'attendance_to_date' and 'attendance_to_time' fields as well, so we can use these for the Attendees records and their Start/End values. It's not necessary to support this right away, so you can just ignore those values if it's too much effort right now, and then we can add the support for that later on.

launchpad_url is the OpenID auth link, and launchpad_username is the LP username if a person has LP account, or empty otherwise. When it's empty, we can generate an arbitrary username just so the django-auth data model is satisfied, and when somebody registers on Launchpad, next time they log in to Summit, their username will be pulled according to django-openid-auth settings on Summit.

Note that header line is included, I hope that's not a big deal. We can ask to get it removed if it is.

Revision history for this message
Данило Шеган (danilo) wrote :

Actually, after taking a look at your script, it seems to handle all of the things I mention above, so it just needs updating to match the new format and perhaps support the new fields.

363. By Michael Hall

Merge with trunk

364. By Michael Hall

Update to use the new linaro csv format and also support reading from a remote url

365. By Michael Hall

Only use start and end dates when creating a user, not lookup

Revision history for this message
Chris Johnston (cjohnston) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches