This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21840 - Switch to upstream "xref"
Summary: Switch to upstream "xref"
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 21828
  Show dependency treegraph
 
Reported: 2013-04-26 09:50 UTC by Simon Pieters
Modified: 2013-08-08 13:26 UTC (History)
0 users

See Also:


Attachments

Description Simon Pieters 2013-04-26 09:50:07 UTC
We have a fork of https://github.com/whatwg/xref but this is problematic because we don't updates from other specs and we don't update the upstream xref when CSSOM specs change. We should drop the fork and use upstream directly. I tried to do this bug I get an error:

$ make
anolis --allow-duplicate-dfns --dump-xrefs=data/xrefs/css/cssom.json Overview.src.html /tmp/spec; rm -f /tmp/spec
No such file or directory: 'data/xrefs/css/cssom.json'. Please create it first.
It should contain a an object with a 'url' property (whose value ends with a '#').
anolis --output-encoding=utf-8 --omit-optional-tags --quote-attr-values \
	--w3c-compat --enable=xspecxref --enable=refs --w3c-shortname="cssom" \
	--force-html4-id --filter=".publish" --split-references-section --allow-duplicate-dfns Overview.src.html Overview.html
[Errno 20] Not a directory: u'data/specs.json'
make: *** [Overview.html] Error 1

I made `data` a symlink to my clone of xref. The cssom.json file does exist. Not sure why it isn't working...
Comment 1 Glenn Adams 2013-04-26 19:42:21 UTC
See https://dvcs.w3.org/hg/csswg/rev/3a1132cf3206

Also, N.B. new instructions in README regarding need to:

git clone git://github.com/skynavga/xref.git data

in cssom directory.

Also, when running make with no pre-existing xref, you can use:

make cleanall all