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

Hardcode connectors' filenames #520

Merged
merged 2 commits into from May 10, 2014
Merged

Hardcode connectors' filenames #520

merged 2 commits into from May 10, 2014

Conversation

shadyvb
Copy link
Contributor

@shadyvb shadyvb commented May 10, 2014

.. as they don't change often and is waste of resources to loop on then on
each run, also to maintain interoperability #517

.. as they don't change often and is waste of resources to loop on then on each run, also to maintain interoperability #517
@shadyvb
Copy link
Contributor Author

shadyvb commented May 10, 2014

@fjarrett @westonruter What do you think about this one ?

@westonruter
Copy link
Contributor

@shadyvb I think it is fine, though a simpler alternative would be to grab the basename of each result of the glob, and then prefixing each array item with the absolute path to the directory after it is get/set from the cache.

@shadyvb
Copy link
Contributor Author

shadyvb commented May 10, 2014

@westonruter I thought we'd drop the glob approach altogether since we do have a kinda fixed list of connectors.

@westonruter
Copy link
Contributor

@shadyvb yeah, that's fine 😄

@fjarrett
Copy link
Contributor

Tested and working in single site and multisite.

fjarrett added a commit that referenced this pull request May 10, 2014
Hardcode connectors' filenames
@fjarrett fjarrett merged commit 6d49dd8 into develop May 10, 2014
@fjarrett fjarrett deleted the issue-517 branch May 10, 2014 20:19
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.

None yet

3 participants