Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Commit c87e94f

Browse files
committed
update copyright and project config
1 parent c3350e0 commit c87e94f

File tree

92 files changed

+191
-391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+191
-391
lines changed

.gitbook.yaml

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

.github/workflows/test.yaml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "main"
7+
push:
8+
branches:
9+
- "main"
10+
11+
jobs:
12+
unreleased-deps:
13+
runs-on: ubuntu-latest
14+
name: Detect unreleased dependencies
15+
steps:
16+
- uses: actions/checkout@v2
17+
- run: |
18+
for reqfile in requirements.txt test-requirements.txt ; do
19+
if [ -f ${reqfile} ] ; then
20+
result=0
21+
# reject non-comment lines that contain a / (i.e. URLs, relative paths)
22+
grep "^[^#].*/" ${reqfile} || result=$?
23+
if [ $result -eq 0 ] ; then
24+
echo "Unreleased dependencies found in ${reqfile}."
25+
exit 1
26+
fi
27+
fi
28+
done
29+
test:
30+
runs-on: ubuntu-latest
31+
container: ${{ matrix.container }}
32+
name: ${{ matrix.name }}
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
include:
37+
- container: ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest
38+
makepot: "true"
39+
name: test with Odoo
40+
- container: ghcr.io/oca/oca-ci/py3.8-ocb15.0:latest
41+
#makepot: "true"
42+
name: test with OCB
43+
services:
44+
postgres:
45+
image: postgres:9.6
46+
env:
47+
POSTGRES_USER: odoo
48+
POSTGRES_PASSWORD: odoo
49+
POSTGRES_DB: odoo
50+
ports:
51+
- 5432:5432
52+
steps:
53+
- uses: actions/checkout@v2
54+
with:
55+
persist-credentials: false
56+
- name: Install addons and dependencies
57+
run: oca_install_addons
58+
- name: Check licenses
59+
run: manifestoo -d . check-licenses
60+
- name: Check development status
61+
run: manifestoo -d . check-dev-status --default-dev-status=Beta
62+
- name: Initialize test db
63+
run: oca_init_test_database
64+
# - name: Run tests
65+
# run: oca_run_tests
66+
# - uses: codecov/codecov-action@v1
67+
# - name: Update .pot files
68+
# run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
69+
# if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'openspp_project' }}

.pylintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ score=n
44

55
[ODOOLINT]
66
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
7-
manifest_required_authors=Newlogic
7+
manifest_required_authors=OpenSPP.org
88
manifest_required_keys=license
99
manifest_deprecated_keys=description,active
10-
license_allowed=AGPL-3,OPL-1,LGPL-3
10+
license_allowed=AGPL-3,LGPL-3
1111
valid_odoo_versions=15.0
1212

1313
[MESSAGES CONTROL]

.pylintrc-mandatory

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ score=n
44

55
[ODOOLINT]
66
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
7-
manifest_required_authors=Newlogic
7+
manifest_required_authors=OpenSPP.org
88
manifest_required_keys=license
99
manifest_deprecated_keys=description,active
10-
license_allowed=AGPL-3,OPL-1,LGPL-3
10+
license_allowed=AGPL-3,LGPL-3
1111
valid_odoo_versions=15.0
1212

1313
[MESSAGES CONTROL]

COPYRIGHT

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
Most of the files are
3+
4+
Copyright (c) 2022 OpenSPP.org
5+
6+
Many files also contain contributions from third
7+
parties. In this case the original copyright of
8+
the contributions can be traced through the
9+
history of the source version control system.
10+
11+
When that is not the case, the files contain a prominent
12+
notice stating the original copyright and applicable
13+
license, or come with their own dedicated COPYRIGHT
14+
and/or LICENSE file.

g2p_programs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from . import models
44
from . import wizard

g2p_programs/__manifest__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
{
33
"name": "G2P Programs",
44
"category": "G2P",
55
"version": "15.0.0.0.1",
66
"sequence": 1,
7-
"author": "Newlogic",
8-
"website": "https://newlogic.com/",
7+
"author": "OpenSPP.org",
8+
"website": "https://openspp.org/",
99
"license": "LGPL-3",
1010
"depends": [
1111
"base",

g2p_programs/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from . import constants
44
from . import entitlement

g2p_programs/models/accounting/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from . import account_journal
44
from . import fund_management

g2p_programs/models/accounting/account_journal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from odoo import fields, models
44

0 commit comments

Comments
 (0)