Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed GRASS GIS locations to projects #565

Merged
merged 31 commits into from
Dec 4, 2024
Merged

Conversation

anikaweinmann
Copy link
Member

@anikaweinmann anikaweinmann commented Oct 16, 2024

Renamed GRASS GIS locations to projects from GRASS GIS version 8.4:

  • add decorator for deprecated locations
  • add endpoints for all projects-endpoint-urls
  • Add tests for G8.3 and G8.4

tests/test_noauth.py Outdated Show resolved Hide resolved
tests/test_webhook.py Outdated Show resolved Hide resolved
tests/test_webhook.py Outdated Show resolved Hide resolved
def get_endpoint_class_name(endpoint_class, projects_url_part="projects"):
endpoint_class_name = endpoint_class.__name__.lower()
if "project" in endpoint_class_name:
name = endpoint_class_name.replace("project", projects_url_part[:-1])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this replace "project" with "project"? Why is this needed?

Copy link
Member

@mmacata mmacata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

@anikaweinmann anikaweinmann merged commit a883c2e into main Dec 4, 2024
23 of 25 checks passed
@anikaweinmann anikaweinmann added this to the 5.0.0 milestone Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants