-
Notifications
You must be signed in to change notification settings - Fork 995
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
zola init
fails in existing empty directory
#814
Comments
I should have tried that before releasing 🤦♂ |
@riginding fixed it in the |
Awesome! |
No timeline yet, I want to have the non slugification for paths (on phone,
can't find the issue) in before releasing. I'll try to work on that next
week.
…On Sat, 30 Nov 2019, 01:18 Allan Jacquet-Cretides, ***@***.***> wrote:
Awesome!
@Keats <https://github.com/Keats> Do you know when will be the next
release for newcomers to not meet this issue when launching Zola for the
first time? 😃
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#814?email_source=notifications&email_token=AAFGDIYKY3HCCSI62ONBD2DQWGWMXA5CNFSM4I6HN5D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPV7YQ#issuecomment-559898594>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFGDI42J7PKJTJKBM3S6HDQWGWMXANCNFSM4I6HN5DQ>
.
|
@Keats Would it be possible to have this fix released sooner? Without it, the out-of-the-box user experience for new users looking to initialize a new Zola project inside an existing Git repo is very poor. Thanks for all the effort in creating and maintaining this project! |
There's a WIP feature in the |
@Keats Awesome! Can't wait to try it out. Once the initial project directory is created, the rest of the user experience is much better. I'll gladly try out that branch and see how the slugification feature is faring. |
I'm getting this error too compiling from |
It has been merged in |
I see. Thanks @Keats! I did manage to get it working by guessing the CLI argument structure (documentation? what documentation?), but haven't really found Zola to be suitable for my use-case - hence I'm currently exploring alternatives. For reference I want to build a simple static site for an open-source project of mine. |
Is https://www.getzola.org/documentation/getting-started/cli-usage/#init not detailed enough? There are some improvements already in the |
Ah, I see! I must have missed that. |
Bug Report
Environment
Zola version: Github master branch
OS: Linux
Expected Behavior
Running
zola init
in an empty directory should initialize the directory.Current Behavior
Example run:
As you see, the initialization fails with a "File exists" error. The error message could be improved to mention which file exists: it took some digging in the issues to figure out why it failed. (Running
zola init mydir
works, it's initializing the current empty dir that fails).Step to reproduce
Create an empty directory, go inside and run
zola init
.Related issues
gutenberg init
orgutenberg init .
to work on its own inside an empty directory #406The text was updated successfully, but these errors were encountered: