Skip to content

Migrate plaintext file endpoints to Laravel controllers#1444

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:file-endpoints
May 31, 2023
Merged

Migrate plaintext file endpoints to Laravel controllers#1444
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:file-endpoints

Conversation

@williamjallen
Copy link
Copy Markdown
Collaborator

We currently have two files which return plaintext file data which were overlooked in #1351. This PR moves the logic for those two files into Laravel controllers for consistency with the rest of the codebase. This PR is part of a collection of forthcoming PRs which will move all routes to Laravel's routing system and do away with the need for CDash.php.

Copy link
Copy Markdown
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

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

One small question, otherwise I think things look good.

Comment thread app/Http/Controllers/AdminController.php
Copy link
Copy Markdown
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

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

DROP_SITE looks great but you went a little too far with the DROP_LOCATION

Comment thread app/Http/Controllers/AdminController.php
@williamjallen
Copy link
Copy Markdown
Collaborator Author

After discussion with @josephsnyder, I will make a separate PR to modify the contents of the generateCTestConfig.php response. This PR only shuffles around the original files as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants