Skip to content

Commit

Permalink
Cleaning up unused code (gomods#352)
Browse files Browse the repository at this point in the history
* removing pkg/repo

Fixes gomods#335

* removing the gomod parser
  • Loading branch information
arschles authored Jul 30, 2018
1 parent 21cd723 commit 59d5d5f
Show file tree
Hide file tree
Showing 30 changed files with 0 additions and 1,088 deletions.
4 changes: 0 additions & 4 deletions cmd/olympus/actions/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,5 @@ func getWorker(store storage.Backend, eLog eventlog.Eventlog) (worker.Worker, er
MaxFails: env.WorkerMaxFails(),
}

if err := w.RegisterWithOptions(DownloadHandlerName, opts, GetPackageDownloaderJob(store, eLog, w)); err != nil {
return nil, err
}

return w, w.RegisterWithOptions(PushNotificationHandlerName, opts, GetProcessPushNotificationJob(store, eLog))
}
79 changes: 0 additions & 79 deletions cmd/olympus/actions/package_downloader.go

This file was deleted.

1 change: 0 additions & 1 deletion cmd/proxy/actions/app_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ func addProxyRoutes(
app.GET(download.PathVersionModule, download.VersionModuleHandler(dp, lggr, proxy))
app.GET(download.PathVersionZip, download.VersionZipHandler(dp, lggr, proxy))

app.POST("/admin/fetch/{module:[a-zA-Z./]+}/{owner}/{repo}/{ref}/{version}", fetchHandler(storage))
return nil
}
70 changes: 0 additions & 70 deletions cmd/proxy/actions/fetch.go

This file was deleted.

21 changes: 0 additions & 21 deletions pkg/gomod/bytes/parser.go

This file was deleted.

33 changes: 0 additions & 33 deletions pkg/gomod/bytes/parser_test.go

This file was deleted.

26 changes: 0 additions & 26 deletions pkg/gomod/file/parser.go

This file was deleted.

43 changes: 0 additions & 43 deletions pkg/gomod/file/parser_test.go

This file was deleted.

5 changes: 0 additions & 5 deletions pkg/gomod/file/testdata/go.0.mod

This file was deleted.

5 changes: 0 additions & 5 deletions pkg/gomod/file/testdata/go.1.mod

This file was deleted.

1 change: 0 additions & 1 deletion pkg/gomod/file/testdata/go.2.mod

This file was deleted.

1 change: 0 additions & 1 deletion pkg/gomod/file/testdata/go.3.mod

This file was deleted.

8 changes: 0 additions & 8 deletions pkg/gomod/file/testdata/go.4.mod

This file was deleted.

51 changes: 0 additions & 51 deletions pkg/gomod/parser.go

This file was deleted.

Loading

0 comments on commit 59d5d5f

Please sign in to comment.