-
Notifications
You must be signed in to change notification settings - Fork 3
[WIP] JobTypeLoader Enhancement #334
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
Open
opalmer
wants to merge
22
commits into
master
Choose a base branch
from
jobtype_loader
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
95a4054
starting intitial implementation of JobTypeLoader
opalmer 12ba1d6
adding some missing doc strings
opalmer d878a6f
removing TODO assertion, fixing statement in __init__
opalmer 9096d0f
tests for cache_path(), download_source() and cache_directory
opalmer a15c62c
include farm_name in cache_directory path if set
opalmer f47e3b2
Merge branch 'master' of github.com:pyfarm/pyfarm-agent into jobtype_…
opalmer e8a49c6
check for None in farm_name
opalmer c4f736f
add cache_directory test for farm_name
opalmer 702b46b
adding tests for compile_()
opalmer 5ae3597
added _compile() static method, integrated it into load()
opalmer b5fea59
get code from correct url and with proper headers
opalmer 0f3f85d
updating tests to act more like the master would
opalmer 0853a80
tests for JobTypeLoader.load
opalmer 62c189a
use inlineCallbacks for test_schema, otherwise JobType.load never runs
opalmer 9753c18
refactor to use/cache job type dictionary rather than just the source…
opalmer 5b2a53d
skip caching in a few cases rather than breaking
opalmer de45385
removing old code
opalmer 5cdf641
rename _compile to create_module
opalmer 256d5c3
updating tests to account for json response from master in JobTypeLoader
opalmer d70ad16
WIP update to test_accept
opalmer 5b8cd76
starting to convert assign.py to inlineCallbacks so it's easiear to m…
opalmer 3e1b737
fixing test_restarting
opalmer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we join
config['farm_name']to this, if it is set?That way, if agents get switched between farms for some reason, they won't get the different jobtypes caches mixed up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes fixed, good catch thanks.