GitHub PushEvent at 2014-11-02 20:09:27
Repository: pelican
Actor: justinmayer
Payload: {"shas":[["0fe290c321fefabcbd8b2957683063d825e3997d","ee9e40d21d4a7fc84cd8d7eab561356d24a3fd0d@tibit.com","Make PAGE_EXCLUDES work with subdirs. Fixes #1500.\n\nThe old code was naively comparing the strings in PAGE_EXCLUDES to the\nsubdirectory names produced by os.walk(). (Same with ARTICLE_EXCLUDES.)\nThis had two surprising effects:\n\nSetting PAGE_EXCLUDES=['foo'] would exclude all directories named foo,\nregardless of whether they were in the top-level content directory or\nnested deep within a directory whose contents should not be excluded.\n\nSetting PAGE_EXCLUDES=['subdir/foo'] would never exclude any directories.\n\nIn other words, there is no way to exclude a subdirectory without risking\nthe accidental exclusion of other directories with the same name elsewhere\nin the file system.\n\nThis change fixes the problem, so 'subdir/foo' and 'foo' will be distinct\nand both work as expected. If anyone out there is depending on the old\nbehavior, they will have to update their settings. I don't expect it to\naffect most users yet, since Pelican doesn't yet make nested directory\nstructures very useful. When it does, this fix will become important to\nmore people.","Forest",true],["b4ae60b3d021bc359b289de9bdea5bd6ca89aa2f","a3c99a9f1fc172fe908d414d2f9282dddf55a886@gmail.com","Merge pull request #1501 from foresto/subdir-excludes\n\nMake PAGE_EXCLUDES and ARTICLE_EXCLUDES work with subdirs. Fixes #1500.","Justin Mayer",true]],"size":2,"ref":"refs/heads/master","head":"b4ae60b3d021bc359b289de9bdea5bd6ca89aa2f"}