Re: [nikola-discuss] The current master in GitHub has a text version of a symlink for several CSS files as their whole content

2020-10-14 Thread Marcelo Huerta

Chris Warrick escribió el 14/10/2020 a las 15:30:


This pull request should fix pip, can you test it?

https://github.com/getnikola/nikola/pull/3468


I installed the windows-fix-symlinks-build branch with pip install directly 
and it worked correctly.



--
   o-=< Marcelo >=-o

--
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/cfec02fa-4a00-0df4-d19b-9ac247a17cd5%40gmail.com.


Re: [nikola-discuss] The current master in GitHub has a text version of a symlink for several CSS files as their whole content

2020-10-14 Thread Chris Warrick
On Wed, 14 Oct 2020 at 17:08, Marcelo Huerta  wrote:
>
> Update: uninstalling Nikola and running `setup.py install` in the directory, 
> works.
>
> `pip install -U .` didn't run the conversion routine during install (as 
> indicated by the fact that the repository was NOT marked as dirty after 
> running it).
>
> In any case, thank you for the leads towards a solution.

This pull request should fix pip, can you test it?

https://github.com/getnikola/nikola/pull/3468

Also, if you run `git config --global core.symlinks true` before
cloning, you should get Windows symlinks in the repo. This might
require Windows’ Developer Mode to be enabled to work.

-- 
Chris Warrick 
PGP: 5EAAEA16

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7%2BeJCYvKfaepkBNrwEAt_8i9kcyWmy%2BS6gickrZPGeo4A%40mail.gmail.com.


Re: [nikola-discuss] The current master in GitHub has a text version of a symlink for several CSS files as their whole content

2020-10-14 Thread Marcelo Huerta
Update: uninstalling Nikola and running `setup.py install` in the 
directory, works.

`pip install -U .` didn't run the conversion routine during install (as 
indicated by the fact that the repository was NOT marked as dirty after 
running it).

In any case, thank you for the leads towards a solution.

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/5abfb2b2-6081-4e98-8f83-613d097e2c4fn%40googlegroups.com.


Re: [nikola-discuss] The current master in GitHub has a text version of a symlink for several CSS files as their whole content

2020-10-14 Thread Marcelo Huerta

Chris Warrick escribió el 14/10/2020 a las 11:34:


Clone with git, cd into the repo and then run `pip install -U .` —
this should run our code in setup.py that fixes symlinks.


I did, even removing Nikola prior to the `pip install -U .`

That didn't work either.

--
   o-=< Marcelo >=-o

--
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/978bdc31-6294-a326-1ba2-ae779ee97f1a%40gmail.com.


Re: [nikola-discuss] The current master in GitHub has a text version of a symlink for several CSS files as their whole content

2020-10-14 Thread Chris Warrick
On Wed, 14 Oct 2020 at 16:31, Marcelo Huerta  wrote:
>
> I am, in fact, in Windows (Nikola v8.1.1, Python 3.8.5 (tags/v3.8.5:580fbb0, 
> Jul 20 2020, 15:43:08) [MSC v.1926 32 bit (Intel)] on win32)
>
> I used pip to install Nikola pointing to the latest master in GitHub:
> pip install -U https://github.com/getnikola/nikola/archive/master.zip
>
> Installing this way, or getting manually the ZIP file, I get the symlinks in 
> the files and not the full content.
>
> I tried cloning with Git enabling symlinks, to no avail.

Clone with git, cd into the repo and then run `pip install -U .` —
this should run our code in setup.py that fixes symlinks.

-- 
Chris Warrick 
PGP: 5EAAEA16

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7Jxm%2BquG4Tdz%3DC8NJtf%2B5e3yNqhXE_mZ%2BQouR3Da0GgGg%40mail.gmail.com.


Re: [nikola-discuss] The current master in GitHub has a text version of a symlink for several CSS files as their whole content

2020-10-14 Thread Chris Warrick
On Wed, 14 Oct 2020 at 16:06, Marcelo Huerta  wrote:
>
> The following files contain only a relative path to a non-existing directory 
> in the repository:
>
> nikola/data/themes/base/assets/css/baguetteBox.min.css
> nikola/data/themes/bootblog4-jinja/assets/css/bootblog.css
> nikola/data/themes/bootstrap4/assets/css/bootstrap.min.css
> nikola/data/themes/bootstrap4-jinja/assets/css/bootstrap.min.css

All files work for me, the files they refer to exist. Are you on
Windows? If so, symlinks don’t work there by default, and Nikola will
fix them if you install. (On non-Windows platforms, those just appear
as standard symlinks in the filesystem.) You can also enable symlink
support and see if it changes anything:
https://github.com/git-for-windows/git/wiki/Symbolic-Links

-- 
Chris Warrick 
PGP: 5EAAEA16

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7LTYS2Og0uWPVG%2B2%2BnHmvUqGNauYZAxPg3SLyLm0-oaEA%40mail.gmail.com.