forked from magicsong/sonargo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c717400
commit 314eb6e
Showing
56 changed files
with
315 additions
and
564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ vendor | |
.scannerwork | ||
debug | ||
temp.file | ||
sonar.coverprofile | ||
sonar.coverprofile | ||
/.idea/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# sonargo | ||
|
||
 | ||
  | ||
[](https://godoc.org/github.com/magicsong/sonargo/sonar) | ||
[](https://godoc.org/github.com/cthackers/sonargo/sonar) | ||
|
||
Client of [sonarqube api](https://sonarcloud.io/web_api) in golang | ||
## Compatibility | ||
|
@@ -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: | ||
|
@@ -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]) | ||
|
@@ -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. |
Oops, something went wrong.