Comments (7)
Yep, I realized the issue a little while ago. Definitely a mistake on my part not following build manifest spec.
from quilt.
Resolved:
Individual files cannot be named file.{extenstion}
.
In my case, file.tif
was not a valid path for contents of package.
from quilt.
Good catch! Actually, that is a real bug - you should be free to use the name file
. We'll fix it.
from quilt.
@dimaryaz Renamed issue for better tracking. Good luck!
from quilt.
Actually, this isn't a bug. Perhaps the design needs changing, but it's by design.
It's not a file named 'file.xyz' that is the problem, it's having a node named 'file'. Also, the error occurs during build, not push. That error is really a beast, though, and it's very obscure to users what is actually happening. At the very least, we should change the error message, and perhaps we should change the quilt build file format.
So, for example:
# this package fails with the reported (obscure and unhelpful) error
contents:
file:
file: baz.tif
# this package succeeds
contents:
file_: # note the underscore
file: file.tif
This is because file
is a quilt keyword used to specify that the containing node references a file. So, you can reference a file named file
, or named file.file
, but you can't have a node named file
.
I'm going to have a conversation with some others about this, and do some checks in the code to ensure that the issue doesn't cause problems elsewhere. As long as that comes up clean, we could potentially be able to determine that it's being used as a keyword or not by the data it contains.
from quilt.
True, but we've decided to allow this behaviour, so in the future you should be able to have packages which use keywords as node names, at least to some extent (including the case you have here).
from quilt.
Partially tackled in #414 and will improve with planned syntax checking for build.yml
files
from quilt.
Related Issues (20)
- package ignoring locally installed versions HOT 9
- Catalog failing to render thumbnails on package view but succeeding on file view HOT 2
- Catalog does not render large Vega JSON files (created by altair) HOT 2
- Accessing package causes ascii decoding error HOT 3
- [question] Quilt and min.io? HOT 15
- Add package created and last updated timestamps part of the API response HOT 2
- Can't resolve 'jsoneditor/dist/jsoneditor.css' HOT 4
- Dependency Dashboard HOT 2
- Add a way to pre-fill metadata on push HOT 4
- Cannot retrieve the old version data HOT 1
- quilt3 verify enhancement
- Remove $ref restriction HOT 1
- Remove schema version restriction HOT 3
- add kms docs
- Quilt 2.9.15 within AWS Lambda execution HOT 3
- Support for running Quilt in an EKS pod with OpenID authentication to AWS disappeared/missing HOT 2
- Workflows should enforce push-level tag completeness
- quilt3 push: --dir is a required argument
- Config resolution at import
- Object level metadata from JSON schema
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quilt.