Ticket #5959 (reopened defect)

Opened 5 months ago

Last modified 6 days ago

the package system should add a "../../name" convention

Reported by: alex Owned by: alex
Priority: normal Milestone: 1.4
Component: PackageSystem Version: 1.0
Severity: normal Keywords:
Cc: james

Description (last modified by alex) (diff)

currently, we support transparent peering of modules if they are direct siblings of the directory in which dojo.js exists. This is inconvenient as, in many cases, these modules exist in locations (at least) one more level up in the filesystem hierarchy. In particular, a release copy of Dojo includes an intermediate "dojo-1.x.x-release/" directory, which is often checked into source control as an "immutable" or 3rd-party resource.

It would be better, then, if in addition to the current "../name" auto-peering we also implement "../../name" auto-peering, with "../../name" likely taking precedence

Change History

Changed 5 months ago by alex

  • status changed from new to assigned
  • milestone changed from 1.2 to 1.1

discussed with james, needs good docs in release notes and book authors need to be notified of the change (there are caveats for x-domain), but otherwise we should land this for 1.1

Changed 5 months ago by alex

  • cc james added
  • milestone changed from 1.1 to 1.2

after a *much* longer discussion, seems we need to punt. It's just really hairy.

Changed 4 months ago by BradNeuberg

  • status changed from assigned to closed
  • resolution set to fixed

(In [13035]) fixes #5959

Changed 4 months ago by jburke

  • status changed from closed to reopened
  • resolution deleted

Ticket accidentally closed. This ticket has not been resolved.

Changed 6 days ago by alex

  • description modified (diff)
  • milestone changed from 1.2 to 1.4

no solution in time for 1.2. Moving to 1.4, as I don't know that there will be time to work on this again before then.

Changed 6 days ago by alex

for the record, the best solution here is clearly a backwards-incompatible change to the "../name" convention to implement *only* "../../name" instead. No interim solution appears possible which does not either introduce a likely 404 for the common case (unacceptable) or a necessary configuration change for existing users (defeating the point of the whole "backwards compatibility" thing).

Note: See TracTickets for help on using tickets.