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

Fix domain persistence in docker_compose_domains #4327

Closed

Conversation

vishwamartur
Copy link
Contributor

@vishwamartur vishwamartur commented Nov 18, 2024

Related to #4326

Update domain persistence in docker_compose_domains field after redeployment.

  • app/Livewire/Project/Application/General.php
    • Add validation for docker_compose_domains in the rules and validationAttributes arrays.
  • app/Models/ApplicationPreview.php
    • Add validateDockerComposeDomainsFormat method to validate the format of docker_compose_domains.
  • app/Http/Controllers/Webhook/Bitbucket.php
    • Add validateDockerComposeDomainsFormat method to validate the format of docker_compose_domains.
  • app/Http/Controllers/Webhook/Gitea.php
    • Add validateDockerComposeDomainsFormat method to validate the format of docker_compose_domains.
  • app/Http/Controllers/Webhook/Github.php
    • Add docker_compose_domains to the data array when creating a new ApplicationDeployment.

/claim #4326

Related to coollabsio#4326

Update domain persistence in `docker_compose_domains` field after redeployment.

* **app/Livewire/Project/Application/General.php**
  - Add validation for `docker_compose_domains` in the `rules` and `validationAttributes` arrays.
* **app/Models/ApplicationPreview.php**
  - Add `validateDockerComposeDomainsFormat` method to validate the format of `docker_compose_domains`.
* **app/Http/Controllers/Webhook/Bitbucket.php**
  - Add `validateDockerComposeDomainsFormat` method to validate the format of `docker_compose_domains`.
* **app/Http/Controllers/Webhook/Gitea.php**
  - Add `validateDockerComposeDomainsFormat` method to validate the format of `docker_compose_domains`.
* **app/Http/Controllers/Webhook/Github.php**
  - Add `docker_compose_domains` to the data array when creating a new `ApplicationDeployment`.

/claim coollabsio#4326
@peaklabs-dev peaklabs-dev changed the base branch from main to next November 19, 2024 13:19
@Bilge
Copy link
Contributor

Bilge commented Nov 22, 2024

Is this AI generated slop?

@roshanjonah
Copy link

@Bilge I hope not. I just put up #4326 and this guy managed to pick it up (bounty was attached) and create this pull request. What made you think this was AI generated? Is the solution not right?

@peaklabs-dev
Copy link
Member

Not needed by the author anymore, so I will close it.

@Bilge
Copy link
Contributor

Bilge commented Nov 27, 2024

@Bilge I hope not. I just put up #4326 and this guy managed to pick it up (bounty was attached) and create this pull request. What made you think this was AI generated? Is the solution not right?

Even a cursory glance would tell you that creating private methods that are never called makes no sense, notwithstanding that same code was copy/pasted three times and this guy only showed up to collect the bounty (has no prior contributions to this project).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants