Skip to content

Commit

Permalink
Rename project (#2)
Browse files Browse the repository at this point in the history
* Disabled checking for license headers in md and sh files

* Renaming project from discv5 to discovery
  • Loading branch information
shahankhatch authored Dec 2, 2019
1 parent 9590a56 commit 61930aa
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- Have you done the following? -->
<!-- * read the Code of Conduct? By filing an Issue, you are expected to -->
<!-- comply with it, including treating everyone with respect: -->
<!-- https://github.com/PegasysEng/discv5/blob/master/CODE-OF-CONDUCT.md -->
<!-- https://github.com/PegasysEng/discovery/blob/master/CODE-OF-CONDUCT.md -->
<!-- * Reproduced the issue in the latest version of the software -->
<!-- * Duplicate Issue check: https://github.com/search?q=+is%3Aissue+repo%3APegasysEng/discv5 -->
<!-- * Duplicate Issue check: https://github.com/search?q=+is%3Aissue+repo%3APegasysEng/discovery -->
<!-- Note: Not all sections will apply to all issue types. -->

### Description
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: -->
<!-- https://github.com/PegaSysEng/discv5/blob/master/CONTRIBUTING.md -->
<!-- https://github.com/PegaSysEng/discovery/blob/master/CONTRIBUTING.md -->

## PR Description

Expand Down
38 changes: 19 additions & 19 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Contributing
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:

Welcome to the discv5 repository! The following is a set of guidelines for contributing to this repo and its packages. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
Welcome to the discovery repository! The following is a set of guidelines for contributing to this repo and its packages. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.

#### Table Of Contents
[Code of Conduct](#code-of-conduct)
Expand Down Expand Up @@ -46,7 +46,7 @@ Before creating bug reports, please check the [before-submitting-a-bug-report](#
#### Before Submitting A Bug Report
* **Confirm the problem** is reproducible in the latest version of the software
* **Check the [Debugging Wiki]**. You might be able to find the cause of the problem and fix things yourself.
* **Perform a [cursory search of project issues](https://github.com/search?q=+is%3Aissue+repo%3APegasysEng/discv5)** to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one.
* **Perform a [cursory search of project issues](https://github.com/search?q=+is%3Aissue+repo%3APegasysEng/discovery)** to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one.

#### How Do I Submit A (Good) Bug Report?
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). Issues should provide the following information by filling in the [issue_template.md](.github/issue_template.md).
Expand Down Expand Up @@ -85,7 +85,7 @@ Before creating enhancement suggestions, please check the [before-submitting-an-
#### Before Submitting An Enhancement Suggestion

* **Check the [Debugging Wiki].** You might be able to find the cause of the problem and fix things yourself.
* **Perform a [cursory search of project issues](https://github.com/search?q=+is%3Aissue+repo%3APegasysEng/discv5)** to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one.
* **Perform a [cursory search of project issues](https://github.com/search?q=+is%3Aissue+repo%3APegasysEng/discovery)** to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one.

#### How Do I Submit A (Good) Enhancement Suggestion?

Expand Down Expand Up @@ -183,23 +183,23 @@ We have a set of [coding conventions](https://github.com/hyperledger/besu/blob/m
| `invalid` | [search][search-label-invalid] | Issues which aren't valid (e.g. user errors). |
| `do we want this?` | [search][search-label-do-we-want-this] | Seeking stakeholder consensus on proposed feature. |

[search-label-enhancement]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Aenhancement
[search-label-bug]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Abug
[search-label-help-wanted]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Ahelp%20wanted
[search-label-good-first-issue]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Agood%20first%20issue
[search-label-info-needed]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Ainfo%20needed
[search-label-needs-reproduction]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Aneeds%20reproduction
[search-label-blocked]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Ablocked
[search-label-duplicate]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Aduplicate
[search-label-wontfix]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Awontfix
[search-label-invalid]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscv5+label%3Ainvalid
[search-label-work-in-progress]: https://github.com/search?q=is%3Aopen+is%3Apr+repo%3APegasysEng%2Fdiscv5+label%3Awork%20in%20progress
[search-label-requires-changes]: https://github.com/search?q=is%3Aopen+is%3Apr+repo%3APegasysEng%2Fdiscv5+label%3Arequires%20changes
[search-label-do-we-want-this]: https://github.com/search?q=is%3Aopen+is%3Apr+repo%3APegasysEng%2Fdiscv5+label%3Ado%20we%20want%20this
[search-label-enhancement]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Aenhancement
[search-label-bug]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Abug
[search-label-help-wanted]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Ahelp%20wanted
[search-label-good-first-issue]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Agood%20first%20issue
[search-label-info-needed]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Ainfo%20needed
[search-label-needs-reproduction]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Aneeds%20reproduction
[search-label-blocked]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Ablocked
[search-label-duplicate]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Aduplicate
[search-label-wontfix]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Awontfix
[search-label-invalid]: https://github.com/search?q=is%3Aopen+is%3Aissue+repo%3APegasysEng%2Fdiscovery+label%3Ainvalid
[search-label-work-in-progress]: https://github.com/search?q=is%3Aopen+is%3Apr+repo%3APegasysEng%2Fdiscovery+label%3Awork%20in%20progress
[search-label-requires-changes]: https://github.com/search?q=is%3Aopen+is%3Apr+repo%3APegasysEng%2Fdiscovery+label%3Arequires%20changes
[search-label-do-we-want-this]: https://github.com/search?q=is%3Aopen+is%3Apr+repo%3APegasysEng%2Fdiscovery+label%3Ado%20we%20want%20this

[[email protected]]: mailto:[email protected]
[Gitter]: https://gitter.im/PegaSysEng/discv5
[Wiki]: https://github.com/PegaSysEng/discv5/wiki
[Debugging Wiki]: https://github.com/PegaSysEng/discv5/wiki/Debugging
[Gitter]: https://gitter.im/PegaSysEng/discovery
[Wiki]: https://github.com/PegaSysEng/discovery/wiki
[Debugging Wiki]: https://github.com/PegaSysEng/discovery/wiki/Debugging
[CLA.md]: /CLA.md
[Code Reviews]: /docs/community/code-reviews.md
20 changes: 11 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import net.ltgt.gradle.errorprone.CheckSeverity

//discovery v5

plugins {
id 'java-library'
id 'com.diffplug.gradle.spotless' version '3.26.0'
Expand Down Expand Up @@ -148,7 +150,7 @@ apply plugin: 'maven-publish'
publishing {
publications {
mavenJava(MavenPublication) {
groupId "tech.pegasys.discv5"
groupId "tech.pegasys.discovery"
version "${project.version}"
from components.java
artifact sourcesJar
Expand All @@ -159,17 +161,17 @@ publishing {
}
pom {
name = "${project.name}"
url = 'http://github.com/PegaSysEng/discv5'
url = 'http://github.com/PegaSysEng/discovery'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
scm {
connection = 'scm:git:git://github.com/PegaSysEng/discv5.git'
developerConnection = 'scm:git:ssh://github.com/PegaSysEng/discv5.git'
url = 'https://github.com/PegaSysEng/discv5'
connection = 'scm:git:git://github.com/PegaSysEng/discovery.git'
developerConnection = 'scm:git:ssh://github.com/PegaSysEng/discovery.git'
url = 'https://github.com/PegaSysEng/discovery'
}
}
}
Expand All @@ -187,13 +189,13 @@ bintray {

pkg {
repo = 'pegasys-repo'
name = 'discv5'
name = 'discovery'
userOrg = 'consensys'
desc = 'Java implementation of discovery v5'
licenses = ['Apache-2.0']
websiteUrl = 'https://github.com/PegaSysEng/discv5'
issueTrackerUrl = 'https://github.com/PegaSysEng/discv5/issues'
vcsUrl = 'https://github.com/PegaSysEng/discv5.git'
websiteUrl = 'https://github.com/PegaSysEng/discovery'
issueTrackerUrl = 'https://github.com/PegaSysEng/discovery/issues'
vcsUrl = 'https://github.com/PegaSysEng/discovery.git'

version {
name = project.version
Expand Down
6 changes: 5 additions & 1 deletion gradle/check-licenses.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
/**
* The lists of the license we accept.
*/
license {
excludePatterns = ['**/*.md', '**/*.sh'] as Set
}

ext.acceptedLicenses = [
'BSD License',
'BSD 2-Clause',
Expand Down Expand Up @@ -132,7 +136,7 @@ downloadLicenses {
]

licenses = [
(group('discv5')) : apache,
(group('discovery')) : apache,

// https://checkerframework.org/manual/#license
// The more permissive MIT License applies to code that you might want
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
* in the user manual at https://docs.gradle.org/6.0.1/userguide/multi_project_builds.html
*/

rootProject.name = 'discv5'
rootProject.name = 'discovery'

0 comments on commit 61930aa

Please sign in to comment.