mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-29 18:04:15 +02:00
Daniel Oliveira
ba159976a0
Fixing TODO comments in code /cc @oliveiradan
1. server/login.go:49 (// TODO(bradrydzewski) return an error message instead). Added error message if authorization fails. 2. server/repos.go:178 (TODO(bradrydzewski) verify repo not exists). Added a checking for the repo and return an error in case it does not exist. 3. server/queue.go:170: // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified. 4. remote/github/github.go:106 // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet. 5. ./server/queue.go:170: // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified. 6. .remote/github/github.go:106 // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
Highly experimental branch that implements the following features:
- Pluggable database backends
- Pluggable queue
- Matrix builds
- Build plugins
- New Yaml syntax
- and more ...
Running Drone:
./drone --config="/path/to/config.toml"
Configuring Drone:
[server]
addr = ":80"
cert = ""
key = ""
[session]
secret = ""
expires = ""
[database]
path = "/etc/drone/drone.db"
[docker]
cert = ""
key = ""
nodes = [
"unix:///var/run/docker.sock",
"unix:///var/run/docker.sock"
]
[service]
name = "github"
base = "https://github.com"
orgs = []
open = false
private_mode = false
skip_verify = true
[service.oauth]
client = ""
secret = ""
authorize = "https://github.com/login/oauth/authorize"
access_token = "https://github.com/login/oauth/access_token"
request_token = ""
Description
Languages
Go
86.3%
Vue
9%
TypeScript
3.3%
Makefile
0.7%
CSS
0.5%
Other
0.1%