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
GNU find breaks portability #773
Comments
On Thu, Mar 14, 2013 at 12:05:39PM -0700, illumin-us-r3v0lution wrote:
Looks like a job for |
Chiming in for this change.
should be rather cross-platform. |
In the interest of closing this one, here's a brief history of Pelican's
There is no discussion motivating 66ca61d or 764a2cf in their commit messages or PRs. I expect @Natim @justinmayer was just cleaning it up in passing. I think all of these proposals are more complicated than
which successfully created a nested output directory that had previously not existed, so I don't see any problem with a full removal. Anyone else want to chime in before I submit a PR? |
Ok for me. |
@wking: Thanks for the detailed analysis. There are several open issues relating to the topic of when and how the output folder is cleaned, and I've spent the better part of the weekend thinking about an efficient solution. These problems are:
I'm working on a series of changes to address all three problems. Those changes boil down to:
I believe that these changes will provide saner default behavior, reduce the likelihood of data loss, and allow users greater flexibility and control regarding when and how the output folder is cleaned. Comments and suggestions are of course most welcome. |
On Sun, Jun 23, 2013 at 11:24:24AM -0700, Justin Mayer wrote:
Why would those be in the output directory? If they're tracking extra |
There are several reasons one might want to version a site's output directory. One of those reasons is to facilitate deployment via Heroku, as noted in #574. |
First PR related to above changes submitted. |
The change to the "make clean" task in 764a2cf from "rm -rf" to instead relying on GNU "find" appears to have broken cross-platform portability, likely causing problems on *BSD and other platforms. This commit reverts that change back to the previous "rm -rf" behavior.
The genesis of this issue, as well as my other proposed changes, have been addressed in #948. |
Just checking in... Any comments or feedback on this before it's merged? |
On Wed, Jun 26, 2013 at 06:49:16AM -0700, Justin Mayer wrote:
This looks good to me. |
Fix implemented in bf0a508 |
The change to the "make clean" task in 764a2cf from "rm -rf" to instead relying on GNU "find" appears to have broken cross-platform portability, likely causing problems on *BSD and other platforms. This commit reverts that change back to the previous "rm -rf" behavior.
hello!
I am excited to have found pelican after feeling bit let down by tinkerer. sadly, while trying to follow the docs and setup a site, I am running into problems with the make file:
The problem, specifically:
GNU find has far too many knobs for cross-platform portability, and will break on *BSD and a variety of other platforms.
A better form of this command that would accomplish the same:
I don't have access to too many different types of systems - I have held off on a pull request, but can do so with testing on other platforms confirming this as acceptable.
The text was updated successfully, but these errors were encountered: