kblincoe / VisualGit_SE701_2019_4

1 stars 0 forks source link

Cloning repository from navbar (file location to save to) #78

Open r4inee opened 5 years ago

r4inee commented 5 years ago

Steps to reproduce:

  1. Once you have logged in.
  2. Clone a repository from the navbar at the top of the screen, you cannot specify the destination to store the repository information (it defaults to creating a new folder and storing it at the root of the VisualGit repository).

Currently, other folders are not ignored by the gitignore file so others may accidentally push an entire repository to their forked VisualGit repository.

Possible resolutions: Either change the functionality of the navbar or restrict the application to only allow cloning from add-repository-panel (Medium). Or alternatively, use gitignore as a whitelist so we don't accidentally push clone repository information (Small).

image

image

WanniCode commented 5 years ago

maybe restrict cloning only from the add-repository-panel since it would mean fewer ways of doing things.

If the 'repository' button highlighted above is then made to select a repo only, then it could pre-populate the URL field of the clone button in the add-repository-panel.

WanniCode commented 5 years ago

anyone else have thoughts on doing it this way^^ (or any other way)?

hybrio commented 5 years ago

we could add a "repositories" folder that they all go into then just add that to the .gitignore