Skip to content

Commit 77f1942

Browse files
authored
Merge pull request #4 from simple-repository/feature/reuse
Follow the REUSE guidelines for specifying licensing and copyright
2 parents 4088ac4 + f7d6064 commit 77f1942

24 files changed

+27
-205
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Copyright (C) 2023, CERN
2-
# This software is distributed under the terms of the MIT
3-
# licence, copied verbatim in the file "LICENSE".
4-
# In applying this license, CERN does not waive the privileges and immunities
5-
# granted to it by virtue of its status as Intergovernmental Organization
6-
# or submit itself to any jurisdiction.
7-
81
repos:
92
- repo: https://github.com/pre-commit/pre-commit-hooks
103
rev: "v4.4.0"
@@ -33,49 +26,3 @@ repos:
3326
args:
3427
- "--max-line-length=100"
3528
- '--ignore=E501,E226'
36-
37-
- repo: https://github.com/Lucas-C/pre-commit-hooks
38-
rev: v1.1.12
39-
hooks:
40-
- id: insert-license
41-
files: ''
42-
types_or:
43-
- python
44-
- yaml
45-
- toml
46-
args:
47-
- "--license-filepath"
48-
- LICENSE_HEADER
49-
- "--detect-license-in-X-top-lines"
50-
- "6"
51-
52-
- repo: https://github.com/Lucas-C/pre-commit-hooks
53-
rev: v1.1.12
54-
hooks:
55-
- id: insert-license
56-
files: ''
57-
types_or:
58-
- jinja
59-
- html
60-
args:
61-
- "--license-filepath"
62-
- LICENSE_HEADER
63-
- "--comment-style"
64-
- '{#||#}'
65-
- "--detect-license-in-X-top-lines"
66-
- "6"
67-
68-
- repo: https://github.com/Lucas-C/pre-commit-hooks
69-
rev: v1.1.12
70-
hooks:
71-
- id: insert-license
72-
files: ''
73-
types_or:
74-
- javascript
75-
args:
76-
- "--license-filepath"
77-
- LICENSE_HEADER
78-
- "--comment-style"
79-
- "/*| *| */"
80-
- "--detect-license-in-X-top-lines"
81-
- "6"

LICENSES/MIT.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 CERN
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

LICENSE_HEADER

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,3 @@ The browser can be run with:
8080
python -m simple_repository_browser
8181
```
8282

83-
84-
## License and Support
85-
86-
This code has been released under the MIT license.
87-
It is an initial prototype which is developed in-house, and _not_ currently openly developed.
88-
89-
It is hoped that the release of this prototype will trigger interest from other parties that have similar needs.
90-
With sufficient collaborative interest there is the potential for the project to be openly
91-
developed, and to power Python package repositories across many domains.
92-
93-
Please get in touch at https://github.com/orgs/simple-repository/discussions to share how
94-
this project may be useful to you. This will help us to gauge the level of interest and
95-
provide valuable insight when deciding whether to commit future resources to the project.

REUSE.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version = 1
2+
3+
[[annotations]]
4+
path = "**"
5+
SPDX-FileCopyrightText = "2023 CERN"
6+
SPDX-License-Identifier = "MIT"

pyproject.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Copyright (C) 2023, CERN
2-
# This software is distributed under the terms of the MIT
3-
# licence, copied verbatim in the file "LICENSE".
4-
# In applying this license, CERN does not waive the privileges and immunities
5-
# granted to it by virtue of its status as Intergovernmental Organization
6-
# or submit itself to any jurisdiction.
7-
81
[build-system]
92
requires = ["setuptools>=61", "setuptools_scm>=8"]
103
build-backend = "setuptools.build_meta"

simple_repository_browser/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Copyright (C) 2023, CERN
2-
# This software is distributed under the terms of the MIT
3-
# licence, copied verbatim in the file "LICENSE".
4-
# In applying this license, CERN does not waive the privileges and immunities
5-
# granted to it by virtue of its status as Intergovernmental Organization
6-
# or submit itself to any jurisdiction.
7-
81
"""
92
Documentation for the simple_repository_browser package
103

simple_repository_browser/__main__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Copyright (C) 2023, CERN
2-
# This software is distributed under the terms of the MIT
3-
# licence, copied verbatim in the file "LICENSE".
4-
# In applying this license, CERN does not waive the privileges and immunities
5-
# granted to it by virtue of its status as Intergovernmental Organization
6-
# or submit itself to any jurisdiction.
7-
81
import argparse
92
import logging
103
import os

simple_repository_browser/_app.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Copyright (C) 2023, CERN
2-
# This software is distributed under the terms of the MIT
3-
# licence, copied verbatim in the file "LICENSE".
4-
# In applying this license, CERN does not waive the privileges and immunities
5-
# granted to it by virtue of its status as Intergovernmental Organization
6-
# or submit itself to any jurisdiction.
7-
81
import logging
92
import sqlite3
103
import typing

simple_repository_browser/_search.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Copyright (C) 2023, CERN
2-
# This software is distributed under the terms of the MIT
3-
# licence, copied verbatim in the file "LICENSE".
4-
# In applying this license, CERN does not waive the privileges and immunities
5-
# granted to it by virtue of its status as Intergovernmental Organization
6-
# or submit itself to any jurisdiction.
7-
81
import dataclasses
92
import re
103
import textwrap

0 commit comments

Comments
 (0)