Skip to content
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

Renamed some files to work in operating systems with case sensitive paths #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

html
Copy link
Contributor

@html html commented Feb 16, 2013

I'm under linux, package was loaded only after renaming directories.

@lisp
Copy link
Owner

lisp commented Feb 16, 2013

good evening;

i build this with ubuntu linux all.the.time.
the pull request does not indicate what you had to change.

?

On 2013-02-16, at 22:12 , Olexiy Zamkoviy wrote:

I'm under linux, package was loaded only after renaming directories.

You can merge this Pull Request by running git pull https://
github.com/html/de.setf.resource pathnames-fix
Or view, comment on, or merge it at:

#2

Commit Summary
Renamed some files to work in operating systems with case sensitive
paths
File Changes
A namespaces/www-w3-org/2001/XMLSchema-datatypes/vocabulary.lisp (0)
A namespaces/www-w3-org/2001/XMLSchema/vocabulary.lisp (0)
Patch Links:
https://github.com/lisp/de.setf.resource/pull/2.patch
https://github.com/lisp/de.setf.resource/pull/2.diff

@html
Copy link
Contributor Author

html commented Feb 16, 2013

Good evening.
I'm running debian.
I've renamed files namespaces/www-w3-org/2001/xmlschema/ and namespaces/www-w3-org/2001/xmlschema-datatypes to their case sensitive analogs (XMLSchema and XMLSchema-datatypes).
Does this answer your question ?

@lisp
Copy link
Owner

lisp commented Feb 16, 2013

not entirely, but if i look at what sbcl does, i suspect it's a runtime issue:

1: (DE.SETF.RESOURCE:LOAD-VOCABULARY #P"LIBRARY:DE;SETF;RESOURCE;NAMESPACES;WWW-W3-ORG;2001;XMLSCHEMA;VOCABULARY.LISP" "http://www.w3.org/2001/XMLSchema#")
  2: (OPEN #P"LIBRARY:DE;SETF;RESOURCE;NAMESPACES;WWW-W3-ORG;2001;XMLSCHEMA;VOCABULARY.LISP" :DIRECTION :INPUT)
    3: (PROBE-FILE #P"/home/asdf/development/source/library/de/setf/resource/namespaces/www-w3-org/2001/xmlschema/vocabulary.lisp")
    3: PROBE-FILE returned
         #P"/home/asdf/development/source/library/de/setf/resource/namespaces/www-w3-org/2001/xmlschema/vocabulary.lisp"

given that the vocabulary loading works with a logical pathname, the question becomes, which runtime do you work with and what does it do with that logical pathname?

@html
Copy link
Contributor Author

html commented Feb 16, 2013

It didn't work with normal uri-pathname-root so I had to change it.
It seems that this pull request is my mistake. I'll try to make it work for me in the right way later.

@lisp
Copy link
Owner

lisp commented Feb 16, 2013

the reluctance to change stems from past experience with mixed-case pathnames.

@html
Copy link
Contributor Author

html commented Feb 17, 2013

Ok, I've made it work for me without need for renaming files.

@lisp
Copy link
Owner

lisp commented Feb 17, 2013

good morning,

On 2013-02-17, at 06:06 , Olexiy Zamkoviy wrote:

Ok, I've made it work for me without need for renaming files.

what was the issue?

@html
Copy link
Contributor Author

html commented May 10, 2013

as I remember it worked when I've added following snippet

(setf (logical-pathname-translations "LIBRARY") 
      '(("de;setf;resource;**;*.*.*"              "/home/oz/src/de.setf.resource/**/")))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants