Page MenuHomeSoftware Heritage

Rename sql files according to new conventions
ClosedPublic

Authored by ardumont on Oct 29 2020, 12:15 PM.

Details

Summary

So the swh db * commands work expectedly [1]

Related to T2736

[1] T2736#51730

Test Plan

happy tox

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16715
Build 25777: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 25776: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D4378 (id=15489)

Rebasing onto 82d935733b...

Current branch diff-target is up to date.
Changes applied before test
commit d5aa5c3a2175c3668bafa66d0787e9c48c271e43
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Oct 29 12:13:51 2020 +0100

    Rename sql files according to new conventions
    
    So the `swh db *` commands work expectedly.
    
    Related to T2736

See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/97/ for more details.

Rename properly 10-superuser.sql to 10-superuser-init.sql (as storage for
example). So the file is properly picked up by swh db init-admin or filtered
out properly by swh db init.

Build is green

Patch application report for D4378 (id=15490)

Rebasing onto 82d935733b...

Current branch diff-target is up to date.
Changes applied before test
commit d910ad3ef2ea863efd24a14714803b9e78b9dde1
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Oct 29 12:13:51 2020 +0100

    Rename sql files according to new conventions
    
    So the `swh db *` commands work expectedly.
    
    Related to T2736

See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/98/ for more details.

ardumont edited the summary of this revision. (Show Details)

I'll land it, this works as per the linked description (it does not without it).

This revision was not accepted when it landed; it landed in state Needs Review.Oct 29 2020, 3:26 PM
This revision was automatically updated to reflect the committed changes.