ibmmobiletipsntricks / mfp-gitignore

.gitignore file for a IBM MobileFirst Platform Foundation (aka Worklight) Project
MIT License
15 stars 7 forks source link

Review .gitignores in this project, see if they are still suitable for the new "Cordova" style in 7.1 #23

Open andrewferrier opened 9 years ago

andrewferrier commented 9 years ago

@nickcmaynard-ibm - opinions?

nickcmaynard commented 9 years ago

AFAICT they're still suitable, though we'll see only the server-side resource rules taking effect. The Cordova-style hybrid projects don't live in the same hierarchy - they're siblings to the root we usually deal with.

IBM haven't issued guidance for source control of these types of project. Perhaps we should start by asking the question on Stack Overflow.

csantanapr commented 9 years ago

The directory structure is defined by Apache Cordova, best practice is to check everything in except the contents of 2 folders "platforms" "plugins". If you don't want to checkin wlapp files they can be regrnerated with mfp push command so ignoring the folder "mobilefirst" is also recommended, they can be empty directories in source control.

andrewferrier commented 8 years ago

OK, I'll take a look at this when I have some time. I would suggest that these might be useful starting points:

nickcmaynard commented 8 years ago

A word of caution here - I've seen conflicting "recommendations" for handling Cordova projects and Git. I would advise detailed testing if there is no official guidance.