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

Autoconfig #3

Open
obriat opened this issue Jul 15, 2021 · 1 comment
Open

Autoconfig #3

obriat opened this issue Jul 15, 2021 · 1 comment

Comments

@obriat
Copy link
Contributor

obriat commented Jul 15, 2021

Project fields should be preset using data from git project: name, machine name, branch (using default one), drupal directory (using web-root from composer.json, or .htaccess for D7)

@klelostec
Copy link
Owner

Actually we get branches from remote without checkout project locally.
Preset drupal directory is difficult because it needs to checkout project locally and run composer to download packages which take times. Project creation need to be done as quick as possible. So I don't recommand to do this.

I don't know how to get repo's human readable name from local git commands. Any idea ? We also need a way to get it from every existing git servers (gitlab, github, butbucket etc.) !

What I've already done is :

  • preset branch with default remote branch
  • preset machine name from name as Drupal.

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

No branches or pull requests

2 participants