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

Resolver graph #23

Closed
michaelpb opened this issue Oct 5, 2017 · 0 comments
Closed

Resolver graph #23

michaelpb opened this issue Oct 5, 2017 · 0 comments

Comments

@michaelpb
Copy link
Owner

michaelpb commented Oct 5, 2017

  • Fix currently hacked together resolvers.py system with a ConversionGrid based ResolverGrid singleton, that resolves a foreign URL by possibly changing between several steps

  • Example: Git -> Cloned-git -> Checked out file .... OR Git -> Cloned-git -> git-tree.json... OR Git -> Cloned-git -> git-log.txt (timestamped)

converters/git.py
 10 class GitLsTreeToJson(converter.Converter):
 11     inputs = [
 12         'GIT',
 13         # TODO: Clean this up, use the detector system instead
 14         # ALSO TODO:
 15         # When finishing Resolver graph system, give option of popping out
 16         # known types in addition to unknown (for example, known type of
 17         # .git-ls-tree)
 18     ]


  6 # TODO:
  7 # * Presently hardcoded, refactor this into a "resolver" conversion system
  8 #    * Can use ConverterGraph except with Resolvers instead, which take a
  9 #    resource_url, and ensure that a ForeignResource is cached from that
 10 # * Replace with async subprocess stuff
 11 # * Possibly create async subprocess base class helpers used by both conversio
 12 # system and resolver system
@michaelpb michaelpb added this to the 0.1.17 milestone Oct 10, 2017
@michaelpb michaelpb changed the title Resolver grid Resolver graph Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant