Skip to content

Commit

Permalink
License updates (#604)
Browse files Browse the repository at this point in the history
* new license file

* new contributors guide

* cleanup from rebranding

* Update contributor_guide.md

* Update contributor_guide.md

* update license to MPL 2.0 and date to 2022 in source headers, test_data, intellij copyright template #551
  • Loading branch information
moldover authored Jul 21, 2022
1 parent 8abc64f commit 88afa60
Show file tree
Hide file tree
Showing 32 changed files with 443 additions and 908 deletions.
2 changes: 1 addition & 1 deletion .idea/copyright/BrightSpotsCopyrightProfile.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

617 changes: 0 additions & 617 deletions LICENSE

This file was deleted.

301 changes: 301 additions & 0 deletions LICENSE.html

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions contributor_guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## RCTab Contributor Guide

---

Thank you for your interest in RCTab. We are one of only two open source projects used to produce election results in the United States. The other is [Voting Works](https://www.voting.works/). In 2021, fourteen cities across the country (including New York City) used RCTab in their elections.

The Ranked Choice Voting Resource Center, a nonpartisan 501(c)(3), and the Bright Spots team of volunteer programmers, provide this software and support for free, directly to jurisdictions and individuals interested in implementing ranked-choice elections. The RCVRC also provides flexible licensing to commercial vendors wishing to use RCTab with their election systems. This keeps RCTab open source and helps offset development and support costs.

### How to make a contribution:

1. If you’re interested in contributing code please fill out a copy of this [Contributor Release Form](https://docs.google.com/document/d/1lTpwjQBnS7u8ONdm1rg7nhzXBB8o_I1n/edit?usp=sharing&ouid=116743718777594585909&rtpof=true&sd=true) and send it to [[email protected]](mailto:[email protected]).
2. Find or create an issue you want to work on:
- If you know Java: check out the [readme](https:/BrightSpots/rcv#readme) and the list of open [issues](https:/BrightSpots/rcv/issues) in GitHub to see what's on deck. We plan to label issues which are good for new contributors.
- If you know Python or JavaScript: consider contributing to our partner project [RCVis](https:/artoonie/rcvis#readme). It is the best open source RCV results visualizer. See the [top requested features](https://rcvis.com/#lookingfor) and contact [email protected] for more information.
- For non-coders we have various opportunities to help with [documentation and testing](https:/BrightSpots/rcv/issues?q=is%3Aissue+is%3Aopen+label%3Adocumentation).
- You can also [propose a new feature](https:/BrightSpots/rcv/issues/new) or split an existing issue into multiple chunks of work.
3. Assign the issue to yourself and comment on it. Please include Rene Rojas @rrojas350 and ask any questions you have. This keeps any technical conversation tracked and allows everyone to get on the same page with all the details, before writing any code.
4. Write code:
- We adhere to the EAC's [VVSG V1.0](https:/BrightSpots/rcv/blob/develop/reference/VVSG/VVSG-2005.1.0.VOL.1.pdf) software coding standards from section _5.2 Software Design and Coding Standards_. We recommend reading this.
- We use an Intellij [inspection tool](https:/BrightSpots/rcv/blob/develop/.idea/inspectionProfiles/Project_Default.xml) to enforce nested scope limits required by the VVSG.
- We use [Google Java Style](https://google.github.io/styleguide/javaguide.html). Intellij has a [plugin](https://checkstyle.sourceforge.io/google_style.html) for it which we recommend.
- [Fork our repo](https://docs.github.com/en/get-started/quickstart/contributing-to-projects) and use GitHub flow. Remember to initialize submodules.
- All commit messages should hash-reference the issue number in the text e.g. "Don't log config file contents #520"
5. Run the Gradle "check" target, which runs code / style checks, and the regression tests. This ensures your changes do not break existing code.
6. Create a pull request and make changes suggested by the reviewers. If the suggested changes significantly expand the scope of an issue, consider breaking them out into a new issue.
7. Merge your pull request and celebrate! It's a lot of work and we really appreciate your contribution.

If you have any questions or feedback please reach out to Rene Rojas by email at [email protected].


- The RCTab Team

15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/CastVoteRecord.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/*
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/ClearBallotCvrReader.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package network.brightspots.rcv;
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/CommonDataFormatReader.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/*
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/ContestConfig.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/*
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/ContestConfigMigration.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package network.brightspots.rcv;
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/DominionCvrReader.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package network.brightspots.rcv;
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/FileUtils.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/*
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/GuiApplication.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package network.brightspots.rcv;
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/GuiConfigController.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package network.brightspots.rcv;
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/GuiContext.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package network.brightspots.rcv;
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/GuiTiebreakerController.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package network.brightspots.rcv;
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/HartCvrReader.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package network.brightspots.rcv;
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/JsonParser.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/*
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/network/brightspots/rcv/Logger.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
/*
* RCTab
* Copyright (c) 2017-2020 Bright Spots Developers.
* Copyright (c) 2017-2022 Bright Spots Developers.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this
* program. If not, see <http://www.gnu.org/licenses/>.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

/*
Expand Down
Loading

0 comments on commit 88afa60

Please sign in to comment.