Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brendan Rice 372 posts 608 karma points
    Apr 12, 2011 @ 12:55
    Brendan Rice
    0

    What files can be ignored with SVN?

    What files/folders can be ignored with Umbraco when using SVN? Currently I use the ignore pattern below but I don't think it is specific enough for Umbraco:

    *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store thumbs.db Thumbs.db *.bak *.class *.exe *.dll *.mine *.obj *.ncb *.lib *.log *.idb *.pdb *.ilk *.msi* .res *.pch *.suo *.exp *.*~ *.~* ~*.* cvs CVS .CVS .cvs release Release debug Debug ignore Ignore bin Bin obj Obj *.csproj.user *.user

  • Arjan H. 142 posts 275 karma points
    Jan 14, 2012 @ 14:39
    Arjan H.
    1

    I'd like to know this as well. Which files and folders from a Umbraco installation can be safely excluded from SVN. I usually exclude the /media and /App_Data/TEMP folders. Is there a best practice for this?

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Jan 14, 2012 @ 14:42
    Jeroen Breuer
    1

    Those are the folders I also exclude, but also the umbraco.config file since it will almost always give conflicts in svn and can be regenerated anyway. You also don't need the /install folder. Don't think there's a best practise fot this. Someone should write a wiki fot this.

    Jeroen

  • Brendan Rice 372 posts 608 karma points
    Jan 17, 2012 @ 01:16
    Brendan Rice
    0

    It would make a good WIKI post, will try write one when I get a bit of breathing space. I have moved onto mercurial and have an ignore file put together that works quite well.

  • Arjan H. 142 posts 275 karma points
    Sep 19, 2012 @ 16:53
    Arjan H.
    0

    So, did anyone put together a decent global ignore pattern?

  • Tom Fulton 2030 posts 4996 karma points c-trib
    Sep 19, 2012 @ 17:33
    Tom Fulton
    3

    We don't use SVN, but in Git, these are the folders we ignore:

    src/*.Umbraco/App_Data/ClientDependency/
    src/*.Umbraco/App_Data/ExamineIndexes/
    src/*.Umbraco/App_Data/TEMP/
    src/*.Umbraco/App_Data/preview/
    src/*.Umbraco/App_Data/umbraco.config
    src/*.Umbraco/data/umbraco.config
    src/*.Umbraco/aspnet_client/
    src/*.Umbraco/media/
    src/*.Umbraco/imagecache/

    Someone also posted this:  .hgignore for Umbraco and Visual Studio

    And OffRoadCode shared their .hgignore in this blog and nuget

    Hope this helps,
    Tom 

     

     

     

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies