Skip to content

Commit

Permalink
Updated structures to latest SQ
Browse files Browse the repository at this point in the history
  • Loading branch information
iacobnasca committed Aug 9, 2022
1 parent c717400 commit 314eb6e
Show file tree
Hide file tree
Showing 56 changed files with 315 additions and 564 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ vendor
.scannerwork
debug
temp.file
sonar.coverprofile
sonar.coverprofile
/.idea/
15 changes: 0 additions & 15 deletions .vscode/exmp.http

This file was deleted.

17 changes: 0 additions & 17 deletions .vscode/launch.json

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

7 changes: 0 additions & 7 deletions CHANGELOG.md

This file was deleted.

197 changes: 0 additions & 197 deletions Gopkg.lock

This file was deleted.

41 changes: 0 additions & 41 deletions Gopkg.toml

This file was deleted.

21 changes: 0 additions & 21 deletions Makefile

This file was deleted.

13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# sonargo

![GitHub version](https://img.shields.io/badge/version-v0.0.1-brightgreen.svg?logo=appveyor&longCache=true&style=flat)
![](https://sonarcloud.io/api/project_badges/measure?project=magicsong_sonargo&metric=alert_status) ![](https://goreportcard.com/badge/github.com/magicsong/sonargo)
[![GoDoc](https://godoc.org/github.com/magicsong/sonargo/sonar?status.svg)](https://godoc.org/github.com/magicsong/sonargo/sonar)
[![GoDoc](https://godoc.org/github.com/cthackers/sonargo/sonar?status.svg)](https://godoc.org/github.com/cthackers/sonargo/sonar)

Client of [sonarqube api](https://sonarcloud.io/web_api) in golang
## Compatibility
Expand All @@ -11,7 +9,7 @@ As `sonarqube api` is updated frequently, this client now only support [v7.4](ht
## Usage

```go
import github.com/magicsong/sonargo/sonar
import github.com/cthackers/sonargo/sonar
```

Construct a new Sonarqube client, then use the various services on the client to access different parts of the Sonarqube API. For example, to list all projects:
Expand Down Expand Up @@ -52,13 +50,14 @@ Other services is also like `Projects`, using following steps:
3. Use functions of each service to do what you want to do

## Notes
- Most code in first release version is generated by code. So some naming is not suitable. See [generate-go-for-sonarqube](https://github.com/magicsong/generate-go-for-sonarqube)
- Sonarqube community does not build a v7.4 docker image for public, so a v7.4 dockerfile is provided in [build](https://github.com/magicsong/sonargo/tree/master/build) folder.
- Most code in first release version is generated by code. So some naming is not suitable. See [generate-go-for-sonarqube](https://github.com/cthackers/generate-go-for-sonarqube)
- Sonarqube community does not build a v7.4 docker image for public, so a v7.4 dockerfile is provided in [build](https://github.com/cthackers/sonargo/tree/master/build) folder.

## ToDo
* [ ] Add godoc for each api
* [ ] Add more tests
* [ ] test forward compatibility
*
## Author

宋雪涛 (Xuetao Song, [email protected])
Expand All @@ -76,4 +75,4 @@ 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.
limitations under the License.
Loading

0 comments on commit 314eb6e

Please sign in to comment.