Page MenuHomePhabricator

Automate the identities generation
Closed, ResolvedPublic

Description

This process will allow third parties to update in an automated way the identities found in Korma.

So far there's documentation in the Community Wiki regarding to the process to manually update affiliation data. This was done in T88277: Instructions to update user data in korma.

With the use of Sorting Hat this process is simpler than manually editing that file, but this forces you to use Sorting Hat.

The automation is as follows:

  • Sorting Hat 'git pull' the last version of the JSON file (bitbuket stored)
  • Sorting Hat overwrite information in the database with changes in the JSON file (so Sorting Hat assumes this is always the right information).
    • If there were an issue, we can simply checkout a previous version.
  • Sorting Hat add new identities information coming from data sources (for instance a new developer committed a change to the source code)
  • Sorting Hat exports that identities/affiliations information and 'git push' that new JSON file to the bitbucket repository.
  • Sorting Hat updates the private JSON file (so far in bitbucket) each day this is run.

Related Objects

StatusSubtypeAssignedTask
DuplicateQgil
ResolvedQgil
ResolvedQgil
InvalidNone
InvalidNone
ResolvedAklapper
OpenNone
DeclinedNone
OpenNone
ResolvedQgil
ResolvedQgil
ResolvedQgil
ResolvedQgil
ResolvedAklapper
ResolvedNone
ResolvedAklapper
ResolvedAklapper
ResolvedQgil
ResolvedDicortazar
ResolvedDicortazar

Event Timeline

Dicortazar claimed this task.
Dicortazar raised the priority of this task from to High.
Dicortazar updated the task description. (Show Details)
Dicortazar added subscribers: Aklapper, Qgil, sduenas.

@Qgil, @Aklapper, the automated way to deal with identities is now working.

The bitbucket repository is now being updated using the new identities and the info in the repos will be updated if you update such JSON file (using sorting hat is the easey way).

I've also updated the community wiki page.

Kudos to @sduenas!

Dicortazar closed this task as Resolved.Sep 14 2015, 12:10 PM
Dicortazar set Security to None.

Thanks! So this brings us closer to resolving T100189!