CONTRIBUTING: added contribution guidelines
This commit is contained in:
		
							parent
							
								
									20a574ca2d
								
							
						
					
					
						commit
						5471e18fea
					
				
							
								
								
									
										115
									
								
								CONTRIBUTING
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										115
									
								
								CONTRIBUTING
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,115 @@ | ||||
| When contributing a pull request to the main branch, please sign your commits | ||||
| with a PGP key and add your name and the year to the bottom of the list of | ||||
| copyright holders for the file. For example, an existing copyright header might | ||||
| read: | ||||
| 
 | ||||
|  * Copyright (c) 2022–2023 Emma Tebibyte <emma@tebibyte.media> | ||||
| 
 | ||||
| You would add your name below it like this: | ||||
| 
 | ||||
|  * Copyright (c) 2022–2023 Emma Tebibyte <emma@tebibyte.media> | ||||
|  * Copyright (c) 20XX Your Name <your e-mail address or website> | ||||
| 
 | ||||
| We accept contributions from people using aliases. | ||||
| 
 | ||||
| Only list years in which you modified the source file. For example: | ||||
| 
 | ||||
|  * Copyright (c) 2020–2021, 2023 Your Name <your-address@example.com> | ||||
| 
 | ||||
| This header shows that “Your Name” worked on this source file in 2020, 2021, and | ||||
| 2023. Please use the en dash (“–”) to separate the years in the copyright | ||||
| notice. | ||||
| 
 | ||||
| If you are contributing a new file, please prepend the following license header | ||||
| text to it, replacing the proper text on the copyright line: | ||||
| 
 | ||||
| /* | ||||
|  * Copyright (c) 20XX Your Name <your-address@example.com> | ||||
|  * SPDX-License-Identifier: AGPL-3.0-or-later | ||||
|  * | ||||
|  * 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 https://www.gnu.org/licenses/. | ||||
|  */ | ||||
| 
 | ||||
| When including code provided under an AGPLv3-compatible license, please modify | ||||
| the license notice. The following example contains an Expat (MIT) license | ||||
| notice: | ||||
| 
 | ||||
| /* | ||||
|  * Copyright (c) 20XX Your Name <your-address@example.com> | ||||
|  * SPDX-License-Identifier: AGPL-3.0-or-later | ||||
|  * | ||||
|  * 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 https://www.gnu.org/licenses/. | ||||
|  * | ||||
|  * This file incorporates work covered by the following copyright and permission | ||||
|  * notice: | ||||
|  * | ||||
|  *     MIT License | ||||
|  * | ||||
|  *     Copyright (c) <year> <copyright holders> | ||||
|  * | ||||
|  *     Permission is hereby granted, free of charge, to any person obtaining a | ||||
|  *     copy of this software and associated documentation files (the | ||||
|  *     "Software"), to deal in the Software without restriction, including | ||||
|  *     without limitation the rights to use, copy, modify, merge, publish, | ||||
|  *     distribute, sublicense, and/or sell copies of the Software, and to permit | ||||
|  *     persons to whom the Software is furnished to do so, subject to the | ||||
|  *     following conditions: | ||||
|  * | ||||
|  *     The above copyright notice and this permission notice (including the next | ||||
|  *     paragraph) shall be included in all copies or substantial portions of the | ||||
|  *     Software. | ||||
|  * | ||||
|  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | ||||
|  *     OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||||
|  *     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN | ||||
|  *     NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||||
|  *     DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||||
|  *     OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | ||||
|  *     USE OR OTHER DEALINGS IN THE SOFTWARE. | ||||
|  */ | ||||
| 
 | ||||
| When writing code, make sure lines never exceed 80 characters in width when | ||||
| using two-character-wide tabs. | ||||
| 
 | ||||
| For usage text and help messages, please do not implement a -h option. Just | ||||
| print usage information when any erroneous option is specified. Follow the | ||||
| NetBSD style guide for usage text output format [1]. | ||||
| 
 | ||||
| If committing a new source file for a utility, format the commit message like | ||||
| this: | ||||
| 
 | ||||
| $ git commit -m 'tool(1): <information>' | ||||
| 
 | ||||
| If committing a new library or header file: | ||||
| 
 | ||||
| $ git commit -m 'library(1): <information>' | ||||
| 
 | ||||
| If modifying some other file or directory: | ||||
| 
 | ||||
| $ git commit -m 'README: clarification' | ||||
| $ git commit -m 'tests: posix: fixed bug #47' | ||||
| $ git commit -m 'docs: tool(1): added author information' | ||||
| 
 | ||||
| etc. | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user