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

Commit 999f09f

Browse files
committed
move to Github
1 parent fcb90b2 commit 999f09f

File tree

10 files changed

+121
-95
lines changed

10 files changed

+121
-95
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See LICENSE file for copyright and license information
2+
version: 2
3+
updates:
4+
- package-ecosystem: "pip"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"

.github/workflows/codeql.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See LICENSE file for copyright and license information
2+
name: "CodeQL"
3+
4+
on:
5+
push:
6+
branches: [ "master" ]
7+
pull_request:
8+
branches: [ "master" ]
9+
10+
jobs:
11+
analyze:
12+
name: Analyze (python)
13+
runs-on: 'ubuntu-latest'
14+
timeout-minutes: 360
15+
permissions:
16+
security-events: write
17+
packages: read
18+
19+
strategy:
20+
fail-fast: false
21+
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@v4
25+
26+
# Initializes the CodeQL tools for scanning.
27+
- name: Initialize CodeQL
28+
uses: github/codeql-action/init@v3
29+
with:
30+
languages: python
31+
build-mode: none
32+
33+
- name: Perform CodeQL Analysis
34+
uses: github/codeql-action/analyze@v3
35+
with:
36+
category: "/language:python"

.github/workflows/lint.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See LICENSE file for copyright and license information
2+
name: Python package
3+
4+
on:
5+
push:
6+
branches: [ "master" ]
7+
pull_request:
8+
branches: [ "master" ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up Python 3.10
20+
uses: actions/setup-python@v3
21+
with:
22+
python-version: "3.10"
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -r requirements-dev.txt
27+
# - name: Lint with pylint, vulture
28+
# run: |
29+
# pylint nncli tests --disable=parse-error
30+
# vulture nncli .vulture_whitelist.py
31+
- name: Test with pytest
32+
run: python -m pytest
33+
- name: Build
34+
run: |
35+
flit build
36+
make -C docs html man

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See LICENSE file for copyright and license information
2+
name: Python release
3+
4+
on:
5+
push:
6+
tags: [ "v*" ]
7+
8+
jobs:
9+
release:
10+
11+
runs-on: ubuntu-latest
12+
environment: release
13+
permissions:
14+
id-token: write
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Set up Python
19+
uses: actions/setup-python@v3
20+
with:
21+
python-version: "3.10"
22+
- name: Build package
23+
run: |
24+
python -m pip install build
25+
python -m build
26+
- name: Publish to Pypi
27+
uses: pypa/gh-action-pypi-publish@release/v1

.travis.yml

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

CONTRIBUTING.rst

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,30 +64,20 @@ updating requirements files.
6464
Discussion and Requests
6565
-----------------------
6666

67-
All discussion takes place on the public `mailing list`_. The list's
68-
archive can be found at https://lists.danielmoch.com/nncli-dev. Emails
69-
can be sent to the following addresses to manage your subscription to
70-
the mailing list.
67+
All discussion takes place on the `issue tracker`_.
7168

72-
- nncli-dev+subscribe@
73-
- nncli-dev+unsubscribe@
74-
- nncli-dev+help@
75-
76-
Patches and pull requests are welcome, preferably via emailed output
77-
of `git-request-pull(1)`_ sent to the mailing list. Bug reports should
78-
also be directed to the mailing list.
79-
80-
If you aren't hosting a fork anywhere online, you can also send patches
81-
using `git-format-patch(1)`_.
69+
Pull requests are welcome.
8270

8371
Releases
8472
--------
8573

86-
Releases are published to PyPI_. Signed source tarballs are maintained
87-
at https://dl.danielmoch.com/nncli. Instructions for verifying
88-
tarballs are in the README file at the previous link.
74+
Releases are published to PyPI_.
75+
Signed source tarballs are maintained on the `releases page`_.
76+
Archives are signed with `signify`.
77+
To support the use of `minisign`, which is compatable with `signify`,
78+
detached signatures will be created.
79+
Signature files are indicated with a .minisig extension.
8980

9081
.. _PyPI: https://pypi.org/project/nncli/
91-
.. _mailing list: nncli-dev@danielmoch.com
92-
.. _git-format-patch(1): https://www.git-scm.com/docs/git-format-patch
93-
.. _git-request-pull(1): https://www.git-scm.com/docs/git-request-pull
82+
.. _issue tracker: https://github.com/djmoch/nncli/issues
83+
.. _releases page: https://github.com/djmoch/nncli/releases

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
'color_accent': 'blue',
9494

9595
# Set the repo location to get a badge with stats
96-
'repo_url': 'https://git.danielmoch.com/nncli/',
96+
'repo_url': 'https://github.com/djmoch/nncli/',
9797
'repo_name': 'Git Repository',
9898
'repo_type': None,
9999

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ NextCloud Notes Command Line Interface
1010

1111
.. image:: https://img.shields.io/pypi/l/nncli.svg
1212
:alt: PyPI - License
13-
:target: https://git.danielmoch.com/nncli/tree/LICENSE
13+
:target: https://github.com/djmoch/nncli/blob/master/LICENSE
1414
.. image:: https://img.shields.io/pypi/v/nncli.svg
1515
:alt: PyPI
1616
:target: https://pypi.org/project/nncli

pyproject.toml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = [
88
{name = "Daniel Moch", email = "daniel@danielmoch.com"},
99
]
1010
readme = "README.rst"
11-
requires-python = ">=3"
11+
requires-python = ">=3.9"
1212
classifiers = [
1313
"License :: OSI Approved :: MIT License",
1414
"Development Status :: 4 - Beta",
@@ -28,7 +28,7 @@ dynamic = [ "version", "description" ]
2828

2929
[project.urls]
3030
Homepage = "https://nncli.org"
31-
"Source Code" = "https://git.danielmoch.com/nncli"
31+
"Source Code" = "https://github.com/djmoch/nncli"
3232

3333
[project.optional-dependencies]
3434
dev = [
@@ -64,29 +64,3 @@ show_missing = true
6464

6565
[tool.pytest.ini_options]
6666
mock_use_standalone_module = true
67-
68-
[tool.tox]
69-
legacy_tox_ini = """
70-
[tox]
71-
envlist = py37, py38, py39, py310, pylint, coverage
72-
skipsdist = True
73-
74-
[testenv:pylint]
75-
deps = -rrequirements-dev.txt
76-
allowlist_externals = make
77-
commands =
78-
make lint
79-
80-
[testenv:coverage]
81-
deps = -rrequirements-dev.txt
82-
allowlist_externals = make
83-
commands =
84-
make coverage
85-
86-
[testenv]
87-
deps = -rrequirements-dev.txt
88-
allowlist_externals = make
89-
commands =
90-
make install
91-
python -m pytest
92-
"""

src/nncli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22
"""NextCloud Notes Command Line Interface"""
33

4-
__version__ = '0.3.7'
4+
__version__ = '0.3.8'

0 commit comments

Comments
 (0)