1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    277
    Vote Rating
    11
    worthlutz is on a distinguished road

      0  

    Default What can be in gitignore?

    What can be in gitignore?


    I'm trying to get this set up for the new Cmd 3.1 and and am not sure what can be ignored.

    Currently I'm ignoring in a workspace:

    .architect
    build/MyApp/testing/.sass-cache
    build/MyApp/production/.sass-cache

    Is there anything else I should ignore?

    Worth

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,220
    Vote Rating
    859
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    There is another .sass-cache in the packages/build/ dir I believe.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    277
    Vote Rating
    11
    worthlutz is on a distinguished road

      0  

    Default


    Is there a place in the documentations which defines what all the different files are?

    Could someone who understands the structure help put together a .gitignore file for the workspace to keep unnecessary conflicts and unneeded files from entering the repository.

    Thanks,
    Worth

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,220
    Vote Rating
    859
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This isn't documented. I usually just go off of what files/dirs pop up after doing some builds. I know no help, just the way I have done it.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Ext JS Premium Member
    Join Date
    Jan 2012
    Location
    Montreal
    Posts
    46
    Vote Rating
    2
    Stephan Mercier is on a distinguished road

      0  

    Default


    Is there a gitignore file for Sencha Touch and ExtJS? Since CMD 4, a bunch of new files have showed up in our projects and we would like to know what to exclude from source control. Things like /.sencha/app/microloader and /sass/example

  6. #6
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    277
    Vote Rating
    11
    worthlutz is on a distinguished road

      0  

    Default


    I also would like to know what others have in their "gitignore" file.

    Worth

  7. #7
    Sencha User
    Join Date
    Oct 2012
    Posts
    18
    Vote Rating
    0
    ssweriduk is on a distinguished road

      0  

    Default


    This is what I use when I develop ST 2.2 apps with Architect 2... I'll update once we upgrade to 2.3 and Architect 3...
    PHP Code:
    *.DS_Store
    app
    build
    app
    .html
    app
    .js
    touch
    /resources/sass/.sass-cache 
    Feel free to modify this if you find you need something else

  8. #8
    Sencha User
    Join Date
    Oct 2012
    Posts
    18
    Vote Rating
    0
    ssweriduk is on a distinguished road

      0  

    Default


    This is what I use for SA 3 when developing ST2.3 apps

    PHP Code:
    *.DS_Store
    app
    theme
    build
    app
    .js