Skip to content

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

Open
html wants to merge 1 commit into
lisp:masterfrom
html:pathnames-fix
Open

Renamed some files to work in operating systems with case sensitive paths#2
html wants to merge 1 commit into
lisp:masterfrom
html:pathnames-fix

Conversation

@html

@html html commented Feb 16, 2013

Copy link
Copy Markdown
Contributor

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

@lisp

lisp commented Feb 16, 2013

Copy link
Copy Markdown
Owner

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

html commented Feb 16, 2013

Copy link
Copy Markdown
Contributor Author

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

lisp commented Feb 16, 2013

Copy link
Copy Markdown
Owner

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

html commented Feb 16, 2013

Copy link
Copy Markdown
Contributor Author

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

lisp commented Feb 16, 2013

Copy link
Copy Markdown
Owner

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

@html

html commented Feb 17, 2013

Copy link
Copy Markdown
Contributor Author

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

@lisp

lisp commented Feb 17, 2013

Copy link
Copy Markdown
Owner

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

html commented May 10, 2013

Copy link
Copy Markdown
Contributor Author

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