diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..e7efacb6 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,7 @@ +## Changes: +- ... + + +## TODO: +- [ ] Update the version of pephub in the `__version__.py` file +- [ ] Update the changelog \ No newline at end of file diff --git a/pephub/const.py b/pephub/const.py index 89af9111..d54c536a 100644 --- a/pephub/const.py +++ b/pephub/const.py @@ -132,7 +132,7 @@ CALLBACK_ENDPOINT = "/auth/callback" -DEFAULT_PEP_SCHEMA = "databio/pep-2.1.0" +DEFAULT_PEP_SCHEMA = "databio/pep:2.1.0" DEFAULT_TAG = "default" DEFAULT_QDRANT_SCORE_THRESHOLD = ( diff --git a/pephub/routers/api/v1/namespace.py b/pephub/routers/api/v1/namespace.py index f0a249b6..4f831af7 100644 --- a/pephub/routers/api/v1/namespace.py +++ b/pephub/routers/api/v1/namespace.py @@ -194,7 +194,7 @@ async def create_pep( tag=tag, description=description, is_private=is_private, - pep_schema=pep_schema or "databio/pep-2.1.0", + pep_schema=pep_schema or "databio/pep:2.1.0", ) except ProjectUniqueNameError: raise HTTPException( diff --git a/web/src/components/forms/project-upload-form.tsx b/web/src/components/forms/project-upload-form.tsx index 381de3b8..cad4afc7 100644 --- a/web/src/components/forms/project-upload-form.tsx +++ b/web/src/components/forms/project-upload-form.tsx @@ -203,7 +203,7 @@ export const ProjectUploadForm = ({ onHide, defaultNamespace }: Props) => { isPrivate, description, files: uploadFiles, - pepSchema: pepSchema || 'databio/pep-2.1.0', + pepSchema: pepSchema || 'databio/pep:2.1.0', }, { onSuccess: () => {