Closed
Bug 597496
Opened 14 years ago
Closed 13 years ago
cfx treats files in packages/ as package directories
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
1.0
People
(Reporter: myk, Assigned: warner)
Details
Attachments
(1 file, 1 obsolete file)
1.04 KB,
patch
|
avarma
:
review+
|
Details | Diff | Splinter Review |
cfx treats files in the packages/ directory as package directories, then falls over because it can't find a package.json file inside them. But there are good reasons to have files in that directory. In particular, to configure projects and other settings for text editors and IDEs (i.e. SCiTE.properties and project.komodoedit files). So cfx should ignore those files. Atul: you know the most about the way cfx walks the directory structure; is this one of those bugs it would be easy for you to knock off with a small, well-contained patch?
Comment 1•14 years ago
|
||
This works on my install, though not sure if it is the best way to fix.
Comment 2•14 years ago
|
||
Actually thinking about it more, it is probably better to check that the target is a dir rather than not a file
Attachment #476341 -
Attachment is obsolete: true
Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 476355 [details] [diff] [review] patch.diff Awesome, thanks for the patch David! Atul: can you review?
Attachment #476355 -
Flags: review?(avarma)
Comment 4•14 years ago
|
||
Comment on attachment 476355 [details] [diff] [review] patch.diff Looks great! In the future, it'd be nice if you could wrap the the line to around 78 characters wide, but it's not that big a deal. Thanks for the patch!
Attachment #476355 -
Flags: review?(avarma) → review+
Reporter | ||
Comment 5•14 years ago
|
||
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product. To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Reporter | ||
Updated•13 years ago
|
Keywords: checkin-needed
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → warner-bugzilla
Priority: -- → P1
Target Milestone: --- → 1.0
Assignee | ||
Comment 6•13 years ago
|
||
an equivalent of this patch was present in 1.0b5 .. not sure from what, but it means this can be closed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•