diff options
author | Michael Muré <batolettre@gmail.com> | 2019-05-06 00:14:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 00:14:14 +0200 |
commit | 33c1c79a55f04689c45385c4ccf74da462532011 (patch) | |
tree | 7c4bfd33ae24f272df045583c4ace761c8dd4242 /bridge/launchpad/import.go | |
parent | c0c8b11549930210688a06c64b3cc68d2159a0e8 (diff) | |
parent | 2e17f371758ad25a3674d65ef0e8e32a4660e6d4 (diff) | |
download | git-bug-33c1c79a55f04689c45385c4ccf74da462532011.tar.gz |
Merge pull request #131 from A-Hilaly/github-import
github: support for partial import and refactor into iterator/importer
Diffstat (limited to 'bridge/launchpad/import.go')
-rw-r--r-- | bridge/launchpad/import.go | 7 |
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 -} |