Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include things like github.com/foo.js or janl/github.com.js #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

agnoster
Copy link

Example: suppose djsd receives a GET /github.com.js

Previously, we would only look for ~/.js/github.com.js. Now, the following would also appear (if present):

  • ~/.js/github.com/pull-request-edit-button.js
  • ~/.js/janl/github.com.js
  • ~/.js/janl/github.com/gpl-warning.js

This should make it easier to share and fork repos of dotjs files, as well as
putting features into their own "bundles" (inspired slightly by vim's pathogen).

(I also updated the chrome installation instructions - Google broke that a some point. Thanks, Google! Thgoogle.)

Google has changed - sometime in the last months - that you can no longer install a .crx file simply by dragging it onto Chrome: it tells you that you can only install extensions from the Chrome Web Store.

You can bypass this restriction by dragging the file onto the list of extensions in chrome://extensions, so I've updated the test in the Rake task to reflect that.
Example: localhost:3131/github.com.js

Previously, we would only look for `~/.js/github.com.js`. Now, the following would also appear (if present):

* `~/.js/github.com/pull-request-edit-button.js`
* `~/.js/janl/github.com.js`
* `~/.js/janl/github.com/gpl-warning.js`

This should make it easier to share and fork repos of dotjs files, as well as
putting features into their own "bundles" (inspired slightly by vim's pathogen).
@johan
Copy link
Contributor

johan commented Oct 20, 2012

While I understand how you think, randomly mixing semantically named directory levels with non-semantic ones will have lots of bad interactions; say, including a bundle from some guy named "com", "info" or "museum", for instance.

Those would both run on the domains where his dns-semantically named subdirectories match, and on google.com, blog.persistent.info and guggenheim.museum respectively.

Something like johan@0881164 is way safer.

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