aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/launchpad
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-05-03 00:02:50 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-05-05 18:16:10 +0200
commit0d976f66e87b7c053b10d50fe0849f6c8e5412e6 (patch)
treec76afc61c1e6193ec7452963336ef20e72aec821 /bridge/launchpad
parent3bcaa35b5d25ca9e12389ab4bf78600ae5df8af8 (diff)
downloadgit-bug-0d976f66e87b7c053b10d50fe0849f6c8e5412e6.tar.gz
Add importer tests
Changes to Importer and exporter interface Improve importer Fix extra edits bug
Diffstat (limited to 'bridge/launchpad')
-rw-r--r--bridge/launchpad/import.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/bridge/launchpad/import.go b/bridge/launchpad/import.go
index 30ec5c3f..177ff3fc 100644
--- a/bridge/launchpad/import.go
+++ b/bridge/launchpad/import.go
@@ -44,7 +44,7 @@ func (li *launchpadImporter) ensurePerson(repo *cache.RepoCache, owner LPPerson)
)
}
-func (li *launchpadImporter) ImportAll(repo *cache.RepoCache) error {
+func (li *launchpadImporter) ImportAll(repo *cache.RepoCache, since time.Time) error {
lpAPI := new(launchpadAPI)
err := lpAPI.Init()
@@ -139,8 +139,3 @@ func (li *launchpadImporter) ImportAll(repo *cache.RepoCache) error {
}
return nil
}
-
-func (li *launchpadImporter) Import(repo *cache.RepoCache, id string) error {
- fmt.Println("IMPORT")
- return nil
-}