1
0
mirror of https://github.com/quay/quay.git synced 2025-04-18 10:44:06 +03:00

19 Commits

Author SHA1 Message Date
nmaloof
4899ebd6c7
api: allow refining search with an organization (PROJQUAY-7244) (#2901)
This allows a more refined search than just the repo name. When two
organizations contain the same name repo, e.g: org1/python and
org2/python, you can now search via org1/python to get the specific
result instead of both.
2024-08-09 11:19:55 -04:00
fkaanoz
6f27e60f2a
Update quick-local-deployment.md (#1765) 2023-03-09 16:05:38 +01:00
Sunandadadi
3035f46f56
Util: Clean up and adding make target to install pre-commit hooks(PROJQUAY-000) (#1587) 2022-10-25 11:51:19 -04:00
Sunandadadi
e8e5d5d904
Util: Adding git pre-commit checks (PROJQUAY-4658) (#1585)
* Util: Adding git pre-commit checks (PROJQUAY-0000)

* updating getting started markdown
2022-10-25 10:11:22 -04:00
Syed Mushtaq Ahmed
04af141a49
dev: Add pre-commit script to run black (PROJQUAY-4039) (#1432)
* dev: Add pre-commit script to run black (PROJQUAY-4039)

Automatically formats python files before commit

* Add makefile target to install hook

* Update instructions for installing pre-commit hook
2022-07-06 14:46:47 -04:00
Oleg Bulatov
cf52f5e371
chore: Use Python 3.9 (#1382)
* Use Python 3.9

* Adapt code for Python 3.9
2022-06-20 14:05:47 +02:00
Dave O'Connor
e94e14e8f0
Resolves issues with booting quay container (#953) 2021-10-28 15:27:21 -04:00
Flavian Missi
8f64efd681
docs: consolidate getting started guides (PROJQUAY-2500) (#884)
also remove previous similar guides, and rename previuous
docs/getting_started.md to docs/quick-local-deployment.md.
2021-10-28 14:50:04 +02:00
Harish Govindarajulu
ae0bd06d1d
documentation: Added instructions to setup dev environment (PROJQUAY-2277) (#844) (#844)
Updated doc to include setup up python virutal env and installing project
dependancies

Signed-off-by: harishsurf <hgovinda@redhat.com>
2021-08-09 11:51:34 -04:00
Louis DeLosSantos
113ccebbbf
local-dev: implement local development environment (#610)
* local-dev: implement local development environment

this commit copies the files in /init into /local-dev, edits those files
to support hot-reload features for local development, and introduces
docker-compose/makefile targets in order to support local dev.

Signed-off-by: ldelossa <ldelossa@redhat.com>

* local-dev: hop quay workers to gunicorn

this commit adds a uwsgi worker application delegate and a factory
function allowing each worker to be ran by gunicorn.

each worker now supports hot-reload and will reload itself when it's
code is updated.

this changes only affects the local dev env.

Signed-off-by: ldelossa <ldelossa@redhat.com>

* local-dev: add docs

Signed-off-by: ldelossa <ldelossa@redhat.com>
2020-12-15 12:37:21 -05:00
Bill Dettelback
75c7b1528f
Updated Getting Started with mysql instructions (#559) 2020-09-24 16:56:02 -04:00
Kurtis Mullins
38be6d05d0
Python 3 (#153)
* Convert all Python2 to Python3 syntax.

* Removes oauth2lib dependency

* Replace mockredis with fakeredis

* byte/str conversions

* Removes nonexisting __nonzero__ in Python3

* Python3 Dockerfile and related

* [PROJQUAY-98] Replace resumablehashlib with rehash

* PROJQUAY-123 - replace gpgme with python3-gpg

* [PROJQUAY-135] Fix unhashable class error

* Update external dependencies for Python 3

- Move github.com/app-registry/appr to github.com/quay/appr
- github.com/coderanger/supervisor-stdout
- github.com/DevTable/container-cloud-config
- Update to latest mockldap with changes applied from coreos/mockldap
- Update dependencies in requirements.txt and requirements-dev.txt

* Default FLOAT_REPR function to str in json encoder and removes keyword assignment

True, False, and str were not keywords in Python2...

* [PROJQUAY-165] Replace package `bencode` with `bencode.py`

- Bencode is not compatible with Python 3.x and is no longer
  maintained. Bencode.py appears to be a drop-in replacement/fork
  that is compatible with Python 3.

* Make sure monkey.patch is called before anything else (

* Removes anunidecode dependency and replaces it with text_unidecode

* Base64 encode/decode pickle dumps/loads when storing value in DB

Base64 encodes/decodes the serialized values when storing them in the
DB. Also make sure to return a Python3 string instead of a Bytes when
coercing for db, otherwise, Postgres' TEXT field will convert it into
a hex representation when storing the value.

* Implement __hash__ on Digest class

In Python 3, if a class defines __eq__() but not __hash__(), its
instances will not be usable as items in hashable collections (e.g sets).

* Remove basestring check

* Fix expected message in credentials tests

* Fix usage of Cryptography.Fernet for Python3 (#219)

- Specifically, this addresses the issue where Byte<->String
  conversions weren't being applied correctly.

* Fix utils

- tar+stream layer format utils
- filelike util

* Fix storage tests

* Fix endpoint tests

* Fix workers tests

* Fix docker's empty layer bytes

* Fix registry tests

* Appr

* Enable CI for Python 3.6

* Skip buildman tests

Skip buildman tests while it's being rewritten to allow ci to pass.

* Install swig for CI

* Update expected exception type in redis validation test

* Fix gpg signing calls

Fix gpg calls for updated gpg wrapper, and add signing tests.

* Convert / to // for Python3 integer division

* WIP: Update buildman to use asyncio instead of trollius.

This dependency is considered deprecated/abandoned and was only
used as an implementation/backport of asyncio on Python 2.x
This is a work in progress, and is included in the PR just to get the
rest of the tests passing. The builder is actually being rewritten.

* Target Python 3.8

* Removes unused files

- Removes unused files that were added accidentally while rebasing
- Small fixes/cleanup
- TODO tasks comments

* Add TODO to verify rehash backward compat with resumablehashlib

* Revert "[PROJQUAY-135] Fix unhashable class error" and implements __hash__ instead.

This reverts commit 735e38e3c1d072bf50ea864bc7e119a55d3a8976.
Instead, defines __hash__ for encryped fields class, using the parent
field's implementation.

* Remove some unused files ad imports

Co-authored-by: Kenny Lee Sin Cheong <kenny.lee@redhat.com>
Co-authored-by: Tom McKay <thomasmckay@redhat.com>
2020-06-05 16:50:13 -04:00
Jonathan King
a6acdfbd2e
Update getting_started.md (#385) 2020-05-28 16:35:55 -04:00
Jonathan King
b1451150b1
Removed logging of 'service_key_create' and 'service_key_approve' (#392)
* Update getting_started.md

* removed logging of service key to fix peewee error

* restart github actions

Co-authored-by: Jonathan <jonathan@fedora-jonathan.int.tocaconsulting.com>
2020-05-28 16:31:43 -04:00
sunminjeon
4380850298
Update development-container.md (#272)
* Fix the Quay container directory Path

During installation, an error in the installation path was found.
I think the path of the quay container should be changed to:
This is because we set it to '-e QUAY_DEVEL_HOME=$QUAY_DEVEL_HOME' above, 
and the contents performed after it are in '$QUAY_DEVEL_HOME/quay'. 
Check, please.

before: $QUAY_DEVEL_HOME
after: $QUAY_DEVEL_HOME/quay
2020-04-08 09:24:43 -07:00
Bill Dettelback
f9b5ae871c
initial version (#265) 2020-03-17 11:45:18 -04:00
Jimmy Zelinskie
f59ebb1e48 docs: add basic prometheus doc
[skip ci]
2020-01-15 16:16:06 -05:00
Jimmy Zelinskie
bef1500978 README/docs: s/projectquay/quay in git URIs
The canonical repository is going to stay at github.com/quay/quay.

[ci skip]
2019-11-12 16:18:31 -05:00
Jimmy Zelinskie
9c0dd3b722 initial import for Open Source 🎉 2019-11-12 11:09:47 -05:00