Skip to content

Commit 9f1bd11

Browse files
authored
Merge pull request #1 from fga-eps-mds/fix/issues-218-219-license-conduct-contributing
docs+chore: AGPL-3.0, Code of Conduct, Contributing + atualiza README e SonarCloud para 2026.1
2 parents bed8205 + 7192c1f commit 9f1bd11

5 files changed

Lines changed: 271 additions & 123 deletions

File tree

CODE_OF_CONDUCT.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.
129+
130+
This Code of Conduct comes from the [fga-eps-mds organization](https://github.com/fga-eps-mds/A-Disciplina-MDS-EPS).

CONTRIBUTING.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Guia de contribuição
2+
3+
## Primeiramente
4+
5+
Antes de enviar uma alteração para este repositório, se já não houver uma issue, crie uma a partir do template, e utilize as tags oferecidas para ajudar na identificação da issue. Certifique-se sobre as nossas políticas:
6+
7+
- [Código de conduta]( https://github.com/fga-eps-mds/2021-2-MeasureSoftGram-Core/blob/main/code_of_conduct.md)
8+
- [Padrões no Github](https://fga-eps-mds.github.io/2021-2-MeasureSoftGram-Doc/docs/contribute/github_standards)
9+
- Critérios de aceitação devidamente cumpridos
10+
- Testes automatizados para tudo o que for alterado
11+
12+
## Crie branches ou fork
13+
14+
Crie sua branch para trabalhar, ou faça um fork do repositório, caso seja um desenvolvedor externo.
15+
16+
## Crie pull request
17+
18+
Crie um pull request no Github, selecionando a branch `develop` como base e a sua branch como comparação.
19+
20+
## Revisões
21+
22+
Se mudanças forem solicitadas, corrija-as e solicite uma nova revisão.
23+
24+
**Muito obrigado por contribuir!!**
25+

LICENSE

Lines changed: 70 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
GNU GENERAL PUBLIC LICENSE
2-
Version 3, 29 June 2007
1+
GNU AFFERO GENERAL PUBLIC LICENSE
2+
Version 3, 19 November 2007
33

44
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

88
Preamble
99

10-
The GNU General Public License is a free, copyleft license for
11-
software and other kinds of works.
10+
The GNU Affero General Public License is a free, copyleft license for
11+
software and other kinds of works, specifically designed to ensure
12+
cooperation with the community in the case of network server software.
1213

1314
The licenses for most software and other practical works are designed
1415
to take away your freedom to share and change the works. By contrast,
15-
the GNU General Public License is intended to guarantee your freedom to
16+
our General Public Licenses are intended to guarantee your freedom to
1617
share and change all versions of a program--to make sure it remains free
17-
software for all its users. We, the Free Software Foundation, use the
18-
GNU General Public License for most of our software; it applies also to
19-
any other work released this way by its authors. You can apply it to
20-
your programs, too.
18+
software for all its users.
2119

2220
When we speak of free software, we are referring to freedom, not
2321
price. Our General Public Licenses are designed to make sure that you
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
2624
want it, that you can change the software or use pieces of it in new
2725
free programs, and that you know you can do these things.
2826

29-
To protect your rights, we need to prevent others from denying you
30-
these rights or asking you to surrender the rights. Therefore, you have
31-
certain responsibilities if you distribute copies of the software, or if
32-
you modify it: responsibilities to respect the freedom of others.
33-
34-
For example, if you distribute copies of such a program, whether
35-
gratis or for a fee, you must pass on to the recipients the same
36-
freedoms that you received. You must make sure that they, too, receive
37-
or can get the source code. And you must show them these terms so they
38-
know their rights.
39-
40-
Developers that use the GNU GPL protect your rights with two steps:
41-
(1) assert copyright on the software, and (2) offer you this License
42-
giving you legal permission to copy, distribute and/or modify it.
43-
44-
For the developers' and authors' protection, the GPL clearly explains
45-
that there is no warranty for this free software. For both users' and
46-
authors' sake, the GPL requires that modified versions be marked as
47-
changed, so that their problems will not be attributed erroneously to
48-
authors of previous versions.
49-
50-
Some devices are designed to deny users access to install or run
51-
modified versions of the software inside them, although the manufacturer
52-
can do so. This is fundamentally incompatible with the aim of
53-
protecting users' freedom to change the software. The systematic
54-
pattern of such abuse occurs in the area of products for individuals to
55-
use, which is precisely where it is most unacceptable. Therefore, we
56-
have designed this version of the GPL to prohibit the practice for those
57-
products. If such problems arise substantially in other domains, we
58-
stand ready to extend this provision to those domains in future versions
59-
of the GPL, as needed to protect the freedom of users.
60-
61-
Finally, every program is threatened constantly by software patents.
62-
States should not allow patents to restrict development and use of
63-
software on general-purpose computers, but in those that do, we wish to
64-
avoid the special danger that patents applied to a free program could
65-
make it effectively proprietary. To prevent this, the GPL assures that
66-
patents cannot be used to render the program non-free.
27+
Developers that use our General Public Licenses protect your rights
28+
with two steps: (1) assert copyright on the software, and (2) offer
29+
you this License which gives you legal permission to copy, distribute
30+
and/or modify the software.
31+
32+
A secondary benefit of defending all users' freedom is that
33+
improvements made in alternate versions of the program, if they
34+
receive widespread use, become available for other developers to
35+
incorporate. Many developers of free software are heartened and
36+
encouraged by the resulting cooperation. However, in the case of
37+
software used on network servers, this result may fail to come about.
38+
The GNU General Public License permits making a modified version and
39+
letting the public access it on a server without ever releasing its
40+
source code to the public.
41+
42+
The GNU Affero General Public License is designed specifically to
43+
ensure that, in such cases, the modified source code becomes available
44+
to the community. It requires the operator of a network server to
45+
provide the source code of the modified version running there to the
46+
users of that server. Therefore, public use of a modified version, on
47+
a publicly accessible server, gives the public access to the source
48+
code of the modified version.
49+
50+
An older license, called the Affero General Public License and
51+
published by Affero, was designed to accomplish similar goals. This is
52+
a different license, not a version of the Affero GPL, but Affero has
53+
released a new version of the Affero GPL which permits relicensing under
54+
this license.
6755

6856
The precise terms and conditions for copying, distribution and
6957
modification follow.
@@ -72,7 +60,7 @@ modification follow.
7260

7361
0. Definitions.
7462

75-
"This License" refers to version 3 of the GNU General Public License.
63+
"This License" refers to version 3 of the GNU Affero General Public License.
7664

7765
"Copyright" also means copyright-like laws that apply to other kinds of
7866
works, such as semiconductor masks.
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
549537
the Program, the only way you could satisfy both those terms and this
550538
License would be to refrain entirely from conveying the Program.
551539

552-
13. Use with the GNU Affero General Public License.
540+
13. Remote Network Interaction; Use with the GNU General Public License.
541+
542+
Notwithstanding any other provision of this License, if you modify the
543+
Program, your modified version must prominently offer all users
544+
interacting with it remotely through a computer network (if your version
545+
supports such interaction) an opportunity to receive the Corresponding
546+
Source of your version by providing access to the Corresponding Source
547+
from a network server at no charge, through some standard or customary
548+
means of facilitating copying of software. This Corresponding Source
549+
shall include the Corresponding Source for any work covered by version 3
550+
of the GNU General Public License that is incorporated pursuant to the
551+
following paragraph.
553552

554553
Notwithstanding any other provision of this License, you have
555554
permission to link or combine any covered work with a work licensed
556-
under version 3 of the GNU Affero General Public License into a single
555+
under version 3 of the GNU General Public License into a single
557556
combined work, and to convey the resulting work. The terms of this
558557
License will continue to apply to the part which is the covered work,
559-
but the special requirements of the GNU Affero General Public License,
560-
section 13, concerning interaction through a network will apply to the
561-
combination as such.
558+
but the work with which it is combined will remain governed by version
559+
3 of the GNU General Public License.
562560

563561
14. Revised Versions of this License.
564562

565563
The Free Software Foundation may publish revised and/or new versions of
566-
the GNU General Public License from time to time. Such new versions will
567-
be similar in spirit to the present version, but may differ in detail to
564+
the GNU Affero General Public License from time to time. Such new versions
565+
will be similar in spirit to the present version, but may differ in detail to
568566
address new problems or concerns.
569567

570568
Each version is given a distinguishing version number. If the
571-
Program specifies that a certain numbered version of the GNU General
569+
Program specifies that a certain numbered version of the GNU Affero General
572570
Public License "or any later version" applies to it, you have the
573571
option of following the terms and conditions either of that numbered
574572
version or of any later version published by the Free Software
575573
Foundation. If the Program does not specify a version number of the
576-
GNU General Public License, you may choose any version ever published
574+
GNU Affero General Public License, you may choose any version ever published
577575
by the Free Software Foundation.
578576

579577
If the Program specifies that a proxy can decide which future
580-
versions of the GNU General Public License can be used, that proxy's
578+
versions of the GNU Affero General Public License can be used, that proxy's
581579
public statement of acceptance of a version permanently authorizes you
582580
to choose that version for the Program.
583581

@@ -631,44 +629,33 @@ to attach them to the start of each source file to most effectively
631629
state the exclusion of warranty; and each file should have at least
632630
the "copyright" line and a pointer to where the full notice is found.
633631

634-
<one line to give the program's name and a brief idea of what it does.>
635-
Copyright (C) <year> <name of author>
632+
measuresoftgram
633+
Copyright (C) 2021 MeasureSoftGram
636634

637635
This program is free software: you can redistribute it and/or modify
638-
it under the terms of the GNU General Public License as published by
639-
the Free Software Foundation, either version 3 of the License, or
636+
it under the terms of the GNU Affero General Public License as published
637+
by the Free Software Foundation, either version 3 of the License, or
640638
(at your option) any later version.
641639

642640
This program is distributed in the hope that it will be useful,
643641
but WITHOUT ANY WARRANTY; without even the implied warranty of
644642
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645-
GNU General Public License for more details.
643+
GNU Affero General Public License for more details.
646644

647-
You should have received a copy of the GNU General Public License
645+
You should have received a copy of the GNU Affero General Public License
648646
along with this program. If not, see <https://www.gnu.org/licenses/>.
649647

650648
Also add information on how to contact you by electronic and paper mail.
651649

652-
If the program does terminal interaction, make it output a short
653-
notice like this when it starts in an interactive mode:
654-
655-
<program> Copyright (C) <year> <name of author>
656-
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657-
This is free software, and you are welcome to redistribute it
658-
under certain conditions; type `show c' for details.
659-
660-
The hypothetical commands `show w' and `show c' should show the appropriate
661-
parts of the General Public License. Of course, your program's commands
662-
might be different; for a GUI interface, you would use an "about box".
650+
If your software can interact with users remotely through a computer
651+
network, you should also make sure that it provides a way for users to
652+
get its source. For example, if your program is a web application, its
653+
interface could display a "Source" link that leads users to an archive
654+
of the code. There are many ways you could offer source, and different
655+
solutions will be better for different programs; see section 13 for the
656+
specific requirements.
663657

664658
You should also get your employer (if you work as a programmer) or school,
665659
if any, to sign a "copyright disclaimer" for the program, if necessary.
666-
For more information on this, and how to apply and follow the GNU GPL, see
660+
For more information on this, and how to apply and follow the GNU AGPL, see
667661
<https://www.gnu.org/licenses/>.
668-
669-
The GNU General Public License does not permit incorporating your program
670-
into proprietary programs. If your program is a subroutine library, you
671-
may consider it more useful to permit linking proprietary applications with
672-
the library. If this is what you want to do, use the GNU Lesser General
673-
Public License instead of this License. But first, please read
674-
<https://www.gnu.org/licenses/why-not-lgpl.html>.

0 commit comments

Comments
 (0)