Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuttgart-things/sweatshop-fetcher
git repository cloning service
https://github.com/stuttgart-things/sweatshop-fetcher
git golang grpc kubernetes
Last synced: 2 days ago
JSON representation
git repository cloning service
- Host: GitHub
- URL: https://github.com/stuttgart-things/sweatshop-fetcher
- Owner: stuttgart-things
- License: apache-2.0
- Created: 2023-08-03T13:40:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-16T07:37:11.000Z (about 1 year ago)
- Last Synced: 2023-08-16T08:36:25.625Z (about 1 year ago)
- Topics: git, golang, grpc, kubernetes
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stuttgart-things/sweatShop-fetcher
sweatShop-fetcher is a gRPC server, which hosts a repository service.
This service takes in a git repository url, credentials and delivers a list of files, fitting the given pattern.
During the initialization of the repository service, existing repositories in the system tmp dir are scanned and save into a repo list.When a request to list files of a certain pattern in a repository comes in, the repository service first clone the repository into the system tmp dir, if the repository is not cloned yet. Then the service gathers files fitting the pattern and deliver a file list as output.
## TESTS
```
go run tests/list-files.go
go run tests/repo-connection.go
```## LICENSE
APACHE 2.0
Copyright 2023 Xiaomin Lai.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Author Information
------------------
```bash
Xiaomin Lai, stuttgart-things 01/2023
Patrick Hermann, stuttgart-things 08/2023 (Moved -> github)
```