1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-12-20 13:55:49 +01:00
Commit Graph

770 Commits

Author SHA1 Message Date
Glenn
f14b92cfbf
readme output diff on format error (#512)
* feat: dependabot

- add dependabot yml file to look in the docker & requirements folders
- split the requirements out of the test.pip into a test-requirements.pip file so dependabot recognizes it

It was found that in order to have the python dependabot
recognize the requirements a naming convention had to be
followed

* feat: dependabot

alter to monthly

* feat: markdown diff

Add a conditional check to output a diff between
what mdformat expects and what is actually in the
README.
2023-08-22 12:40:48 +02:00
Glenn
9edae77659
Feature/markdown conversion (#503)
* feat: markdown conversion

logo and badges

* feat: markdown conversion

fix logo path

* feat: markdown

table changes

* feat: markdown

table alignment

* feat: markdown

check toc

* feat: markdown

toc additions

* feat: markdown

quickstart section

* feat: dependabot

more details section in quick start

* feat: dependabot

correct bold

* feat: markdown

client side config, pip

* feat: markdown

typo in title

* feat: markdown

typo in configuring pip

* feat: markdown

apache like authentication section
an initial cut to view the markdown
in github

* feat: markdown

typo in markdown link

* feat: markdown

remove trailing colon

* feat: markdown

typo in shell markdown

* feat: markdown

standardize on 4 space indent in shell code block

* feat: markdown

complete markdown for section up to alternate installation methods

* feat: markdown

add more of the contents to test with

* feat: markdown

contents

* feat: markdown

contents

* feat: markdown

contents

* feat: markdown
dquote>
dquote> recipes

* feat: markdown
dquote>
dquote> recipes

* feat: markdown
dquote>
dquote> up to licensing

* feat: markdown
dquote>
dquote> contents

* Update README.md

Missing exclamation mark

* Update README.md

missing link

* Update README.md

remove duplicated text

* Update README.md

bold differences it Table of contents

* Update README.md

additional bold changes in table of contents

* Update README.md

broken link

* Update README.md

typo in link fix

* Update README.md

change code block to text as shell highlighting was showing some items in red

* Update README.md

code block shell to text

* Update README.md

correct pypi-server update section

* feat: markdown
dquote>
dquote> link back to TOC title

* Update README.md

change link to TOC title

* Update README.md

link test

* Update README.md

link update

* Update README.md

link update

* Update README.md

link update

* feat: markdown

links

* Update README.md

change the level of indent for uploading packages remotely

* Update README.md

add link to python-pam

* feat: markdown

apache link to TOC not working.

* Update README.md

grammar

* Update README.md

typo bold

* feat: markdown

undo bolded text in TOC and titles as linking does
not work

* feat: markdown

remove bold from TOC

* feat: feature

more link issues

* feat: markdown

fixing broken links

* feat: markdown

change text slightly as markdown only links to plain text

* feat: markdown

typo

* feat: markdown

more link typos

* Update README.md

typo in link

* Update README.md

link will not work with braces in the titles

* feat: markdown

run mdformat and apply changes, :) lint!

* feat:  markdown

- check via mdformat
- remove old check script
- update test-requirements.txt

* feat: markdown

correct the errors in the mdformat run command

* feat: markdown

for testing remove all the actual jobs

* feat: markdown

re-run mdformat

* feat: markdown

put the jobs back in after testing the mdformat
cmd for passing and failing via workflow dispatch

* feat: markdown

remove references to README.md

* feat: markdown

change action to workflow dispatch for testing

* feat: markdown

- update docker igore
- alter unit test to look for version number after md changes

* feat: markdown

black linting

* feat: markdown

update comments

* feat: markdown

update bumpver to look at md rather than rst file

* feat: markdown

replace workflow dispatch with pull request
to get ready for the final PR

* feat: markdown-delete-original

delete the original rst file

* feat: markdown-delete-original

change ci to workflow dispatch for testing

* feat: markdown-delete-original

revert workflow dispatch

* feat: markdown-badge-links

set the links back to the original
URLs.

* feat: markdown-badge-links

fix brackets

* feat: markdown

update the version and date

* feat: markdown conversion

markdown changes to conform to mdformat tooling.
2023-08-15 11:16:30 +02:00
Dmitrii Orlov
faf5ddfcc3
chore(ver): bump 1.5.1-->1.5.2 v1.5.2 2023-07-30 23:18:51 +02:00
github-actions[bot]
9c2ebf9e60
chore(auto-release-candidate-07-30-2023) (#505)
* chore(rc-changes): update Changes.rst

* chore: update changes.rst

* chore: update README.rst date

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2023-07-30 21:00:29 +00:00
Timothée Mazzucotelli
3f520cdc18
fix: Add missing pip dependency (#500) 2023-06-26 10:07:10 +02:00
Glenn
85e065e1ad
Feat/dependabot (#493)
* feat: dependabot

- add dependabot yml file to look in the docker & requirements folders
- split the requirements out of the test.pip into a test-requirements.pip file so dependabot recognizes it

It was found that in order to have the python dependabot
recognize the requirements a naming convention had to be
followed

* feat: dependabot

alter to monthly
2023-06-23 17:15:46 +00:00
Mason Lin
73dbe153e3
Health endpoint usage is missing. (#481)
Health endpoint 

README’s `pypi-server run` arguments document is remove by PR #451, and health-endpoint is missing when the `pypi-server run` arguments document bring back in #478
2023-04-27 14:41:58 +02:00
dependabot[bot]
e0c9723ee7
chore: Bump waitress from 1.4.4 to 2.1.2 in /docker (#454)
Bumps [waitress](https://github.com/Pylons/waitress) from 1.4.4 to 2.1.2.
- [Release notes](https://github.com/Pylons/waitress/releases)
- [Changelog](https://github.com/Pylons/waitress/blob/v2.1.2/CHANGES.txt)
- [Commits](https://github.com/Pylons/waitress/compare/v1.4.4...v2.1.2)

---
updated-dependencies:
- dependency-name: waitress
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 19:20:09 +01:00
Dmitrii O
a95f456a68
chore: update docs folder (#479)
* chore: change to `docs` directory

* chore: remove unused files

* chore: small update

* chore: small update

* chore: link to issue
2023-03-07 18:59:16 +01:00
Samuel Wein
8cc8e80a88
Update README.rst and config.py (#470)
* Update README.rst

Add note that the units of `--Cache-Control` is seconds.

* Update config.py

Update `--help` output for `--cache-control` to specify that AGE is in seconds.

---------

Co-authored-by: Dmitrii O <dmtree.dev@yahoo.com>
2023-03-07 17:12:06 +00:00
Dmitrii O
754b0f40d7
chore: add help output for run and update to README (#478) 2023-03-07 16:45:13 +01:00
Johannes Faigle
5fd640062c
Update README to reflect run/update commands (#451)
* DOC: Update README to use new run/update commands

* DOC: Remove running on heroku/dotcloud section from README

The linked repo isn't maintained with last update in 2012

* DOC: Update missing pypi-server cmds with run command

* DOC: Fix CI status badge
2023-02-02 13:19:04 +01:00
Christian Clauss
abc4bfb418
Upgrade to psf/black stable style 2023 (#474)
* Upgrade to psf/black stable style 2023

* Unpin psf/black
2023-02-02 13:08:09 +01:00
Dmitrii O
383c936fb8
chore: disable tests on Python3.6 (#471) 2023-02-02 12:44:46 +01:00
Dmitrii O
d716d0faf3
fix: explicit optional types in config.py (#472)
* fix: make auther function optional in Config

* fix: make args optional in from_args

* chore: autoformatting
2023-01-30 23:25:05 +01:00
Mason Lin
ae3dcf2bbd
feat: 🩺 allow customized health check endpoint (#442)
* feat: 🩺 allow customized health check endpoint

Get the liveness endpoint from the environment variable `HEALTH_ENDPOINT` and verify it. If the customized endpoint is invalied, it will fallback to the DEFAULT_HEALTH_ENDPOINT.

* test:  Test customized endpoint feature

* fix: 🚨 fix check

* feat: Use CLI interface to set health endpoint

* style: 💄 fix black format

* Separate 'build app' and 'add routes'

https://github.com/pypiserver/pypiserver/pull/442#discussion_r973771421

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

* keep DEFAULTS in config.py

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

* style alignment

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

* make CLI arg description more clear

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

* style: 🎨 style alignment

* refactor:  SRP, add routes after app created, instead of patching in app_from_config

* style: 🎨 format CLI help

* test:  add test_setup_routes_from_config

* fix: 🐛 test name doesn't work as expected because of using the wrong ids generator.

* test: 🧪 add config error cases for health endpoint

* test:  fix health_endpoint_arg tests

* fix:  Do not fallback to default silently, should raise error

* test: 🧪 add test_health_endpoint in test_main

* test:  setup routes in main

* docs: 📝 Update the help command output in the Quickstart

* docs: 🐛 missing space

* docs: 📝 Add 'Custom Health Check Endpoint' to 'Recipes'

* docs: 📝 refine README

* revert:  revert auto isoft

* build: 💚 fix mypy, missing return types

* Update README.rst

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

* Update README.rst

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

* Update pypiserver/config.py

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

* Update README.rst

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

* style: 💄 black format

* Update README.rst

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>

Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2022-11-02 12:32:20 +01:00
Dmitrii Orlov
2f3b9979c9
fix: correct 1.5.1 tag date in CHANGES (#457)
fix: fix the 1.5.1 tag date in CHANGES
2022-11-01 10:36:41 +01:00
Christian Clauss
4a0c6fbed0
from importlib import reload for Python 3 (#448) 2022-10-28 09:42:51 +02:00
Dmitrii Orlov
0ba44b54f1
fix: force setuptools update + no duplicate runs in GH Actions (#445)
* fix: run on push only on master, otherwise only in PRs

* fix: pin versions

* chore: print python version

* chore: print python version

* chore: force upgrade setuptools & remove version prints
2022-10-28 00:47:45 +02:00
Christian Clauss
530852b279
Support current versions of CPython (#453) 2022-10-21 11:23:49 +02:00
Christian Clauss
6ea316c4c1
Upgrade GitHub Actions (#447)
* Upgrade GitHub Actions

* Update ci.yml

* Update ci.yml

* Drop Python 3.11-dev

* Re-add Python 3.6

* Re-add py36
2022-10-19 09:19:58 +02:00
Dmitrii Orlov
249cc6c7c4
chore(ver): bump 1.5.0-->1.5.1 v1.5.1 2022-10-18 16:06:16 +02:00
github-actions[bot]
16280557c0
chore(auto-release-candidate-10-01-2022) (#450)
* chore(rc-changes): update Changes.rst

* chore: adjust the CHANGES description

* chore: update release date in README

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2022-10-18 16:04:22 +02:00
Aron Bierbaum
784a9a134a
chore: Replace usage of deprecated inspect.getargspec (#436) 2022-09-09 10:01:45 +02:00
Dmitrii Orlov
bbd2a47bae
fix: docker tests in cicd (#444)
* fix: bump gevent version to 21.12.0

* chore: few naming cleanings in test_docker

* chore: run black formatter
2022-09-06 18:41:25 +02:00
Dmitrii Orlov
61e44871d4
feat: add extremely basic /health endpoint (#396)
* Add extremely basic /health endpoint

* Replace robot-sounds with Ok.

* add test case for /health endpoint

* Apply suggestion to _app.py:
- remove dot from Ok response in health endpoint

* Fix tests for the health endpoint

* Formatting _app.py
2022-07-26 23:28:48 +02:00
Dmitrii Orlov
640a74872b
Add traefik/ and auth/ dirs to gitignore (#398) 2022-07-20 18:13:32 +02:00
Kian-Meng Ang
a67829eea6
chore: Fix typos (#431) 2022-05-23 08:49:18 +00:00
Dmitrii Orlov
388658e624
chore(ver): bump 1.5.0-->1.5.0 v1.5.0 2022-05-01 22:36:23 +02:00
Dmitrii Orlov
c36fc51da2
fix package script usage 2022-05-01 22:36:06 +02:00
Dmitrii Orlov
6502f031d4
chore(ver): bump 2.0.0dev1-->1.5.0 2022-05-01 22:12:50 +02:00
Dmitrii Orlov
28959cfdbc
change RC date 2022-05-01 22:03:20 +02:00
Dmitrii Orlov
5308fba405
add tag ref for GH action 2022-04-26 02:12:49 +02:00
Dmitrii Orlov
c63b2b1337
Revert "chore(ver): bump 2.0.0dev1-->1.5.0"
This reverts commit 0e8a49dd1c23c39166cbd8ac727d295337cf5978.
2022-04-26 01:57:02 +02:00
Dmitrii Orlov
0e8a49dd1c
chore(ver): bump 2.0.0dev1-->1.5.0 2022-04-26 01:23:49 +02:00
Dmitrii Orlov
4538014127
Fix CHANGES.rst date 2022-04-26 01:23:29 +02:00
Dmitrii Orlov
fd97b465dd
Update changelog 2022-04-26 01:18:36 +02:00
Dmitrii Orlov
1f26b20421
fix(simplify-release-gh-actions): release in CI.yml (#428)
* get the release jobs back in ci.yml

* Delete unnecessary RLS workflow

* make both jobs depend on tests
2022-04-26 01:05:49 +02:00
Dmitrii Orlov
04a1826b9a
Revert "chore(ver): bump 2.0.0dev1-->1.5.0"
This reverts commit e675ab71fda6edc7bfc420da1ff7c1f67faadd09.
2022-04-25 23:46:40 +02:00
Dmitrii Orlov
e675ab71fd
chore(ver): bump 2.0.0dev1-->1.5.0 2022-04-25 23:44:12 +02:00
github-actions[bot]
4485902b6d
chore(auto-release-candidate-04-01-2022): 1.5.0 rc (#426)
* chore(rc-changes): update Changes.rst

* Adjust logs in CHANGES.rst

* Bump RC version to 1.5.0

* adjust RC candidate date

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2022-04-25 23:35:25 +02:00
Dmitrii Orlov
4d81ea7124
chore(package-release-from-gh-actions): Adding release management to GitHub actions (#423)
* Basic attempt for a release workflow in GH Actions

* move docker release to `release.yml`

* return the docker steps to ci.yml

* return the deploy-docker step to release.yml

* add wait for tests GA
2022-04-01 17:49:04 +02:00
Dmitrii Orlov
eb3d6941b1
remove the tmp directory & add to gitignore (#424) 2022-03-31 10:30:33 +02:00
Dmitrii Orlov
cd1e17cc26
fix(setuptools-in-tests): add packages=[] in test setup (#425)
* fix: add `packages=[]` in test setup

* pin setuptools below 62 for tests
2022-03-31 10:09:16 +02:00
Dmitrii Orlov
3ba17777da
chore(release-candidate-from-github-actions): add github action for release management (#417) 2022-03-25 19:31:39 +01:00
Dmitrii Orlov
e039f4011f
fix(typing-checks): fix small typing and lint errors in config.py (#421) 2022-03-24 09:25:00 +01:00
Dmitrii Orlov
3950cdc4bc
Merge pull request #415 from dee-me-tree-or-love/chore-adjust-contributors-entry-in-readme-rst
chore(new-people-readme): adjust maintainers & add call for new people
2022-02-21 10:11:05 +01:00
Dmitrii Orlov
f2330fa95e
Merge branch 'master' into chore-adjust-contributors-entry-in-readme-rst 2022-02-21 09:21:01 +01:00
Dmitrii Orlov
e608e8645f
Merge pull request #416 from dee-me-tree-or-love/fix-small-styling-fixes
fix(small-black-format-fixes): small styling fixes
2022-02-21 09:20:27 +01:00
Dmitrii Orlov
3b1a0f828d
Merge branch 'master' into fix-small-styling-fixes 2022-02-20 21:28:30 +01:00