Page MenuHomeSoftware Heritage

sql/swh-scheduler-data: Fix some task names and add svn update task
ClosedPublic

Authored by anlambert on Oct 15 2018, 11:38 AM.

Details

Summary

This fixes some tasks names and backend names (related to Mercurial loading)
in order to be synchronized with what is deployed in production.

I have also added a new task 'origin-update-svn', for loading svn repositories
through the 'dump first, then mount and load' approach.

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Thanks for the unification.

To be clear, this file i created to automate the data insertion of our tasks in the development db (through the now deprecated/broken swh-env's make -C $SWH_ENV_HOME rebuild-testdata).
This also allows to tend towards no gap between production and local dev but it's not there yet.

If you really want to deploy the new svn task type, we need to insert that into the scheduler's db.

Cheers,

sql/swh-scheduler-data.sql
72

Yes, that's currently what is in production.
I thought i fixed it already so thanks!

This revision is now accepted and ready to land.Oct 15 2018, 11:48 AM

If you really want to deploy the new svn task type, we need to insert that into the scheduler's db.

I do not think that the svn task type should be deployed to production yet (there is still the externals to handle)
but it is still useful for local development and tests so that's why I added it.

This revision was automatically updated to reflect the committed changes.