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

[Feature] Automatically detect static files and move them to respective folders #3

Open
4 tasks
amartya-dev opened this issue Jul 19, 2020 · 4 comments
Open
4 tasks
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@amartya-dev
Copy link
Collaborator

The problem

Currently, the scripts only change the references to the CSS or other static files and then the user would manually have to move the files in the required folder.

Tasks for adding the feature

  • Keep track of the files discovered files (possibly log them)
  • Ask if the person wants to move the said files to his project directory
  • Get the path of the project directory to move it directly to the project OR
  • Make a static folder called static with the app_name folder in it, and the user can later copy that as per requirement.
@amartya-dev amartya-dev added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jul 19, 2020
@amartya-dev amartya-dev changed the title [Feature] Automatically detect CSS and move them to respective folders [Feature] Automatically detect static files and move them to respective folders Oct 5, 2020
@Jeketam
Copy link

Jeketam commented Oct 13, 2020

Hi, can I pick up this issue?

@amartya-dev
Copy link
Collaborator Author

amartya-dev commented Oct 13, 2020

@Jeketam sure, go-ahead

Just add some pointers here on how you are thinking of handling this...

@Jeketam
Copy link

Jeketam commented Oct 16, 2020

For tracking the discovered files I was thinking of printing the locations to the console.

The option to move the files automatically or create app_name/static folder would be handled via argument in the command.

Does that sound alright?

@amartya-dev
Copy link
Collaborator Author

I do not think I understand what you are trying to do here:

  • Yes the second point is correct, we would need to give the user an option to move the files, the files have to be moved to folders according to the app_name flag given by the user, if no such flag is given then the files would have to go in a static folder. All the static files will have to be copied while preserving their directory structure for this to work.

  • I do not understand how you would be tracking files by printing them, could you please elaborate a bit more on that?

If you think you have got it right, go ahead and make a PR, I would like to see how you are handling this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants