-
Notifications
You must be signed in to change notification settings - Fork 120
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
Import from github #528
Comments
You can clone manually in the terminal into the / directory. But Che and Codenvy has a special construct called a project with type. When a repo is imported it is transformed into a project with its own directory. The typing then imbues the project with special behaviors and the ide even changes its contents and plugins as a result. You can change the location of where projects are managed using Che properties. The default is /projects. |
what if part of command prefer Atom/Sublime/Brackets/WebShtorm and "offline", others fall in love to Cloud9, and some want jump on codenvy or eclipse che ? As I can understand codenvy it's fork of last one. Anyway in all other platforms it work from root, but here from folder - what I will have in repo? is this architecture in codenvy support back push in the same positions as it was pulled? |
The other products do not let you define your own dockerfile, which you can do with Che. and that lets you define a working directory which will be the root of installed software along with the location where projects are stored. The directory is important as this more closely resembles the architecture of classic IDEs like Eclipse, Visual Studio, or Intellij. Those products define a workspace and project location. Keep in mind that Che and Codenvy takes the projects and rsyncs them to long term storage. So there has to be a targeted location for the projects for this replication. You could change the Che property from /projects to /, though it hasn't been tested for any side affects. But the rationale is not clear. A good project structure should allow for operation in any directory for any clone. |
Could you suggest some article or video with those best practice of project architecture described? I understand that it's not the theme of github issue, but it give more Codenvy understanding, on what principles it based, with what ideas it made. Thank you. |
Codenvy/Che works as following:
So, no, making a project inside workspace root is not expected. And so far I do not see what kind of problem may experience team with different tools preferences taking into account that it uses Git. |
When I do import project from github it download all to folder '/projectName/', but not like I need in '/'. On Cloud9 it work as I want - clone it to '/'. If I do it manually in terminal I get my folders in '/' + '/.git', but without any files, plus git menu work (active) only under '.git' folder.
The text was updated successfully, but these errors were encountered: