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

Technical debt: general code improvement #4

Open
10 of 15 tasks
gklyne opened this issue Sep 11, 2014 · 1 comment
Open
10 of 15 tasks

Technical debt: general code improvement #4

gklyne opened this issue Sep 11, 2014 · 1 comment
Labels

Comments

@gklyne
Copy link
Owner

gklyne commented Sep 11, 2014

This lists needs breaking down into minor usability fixes, technical code improvements, and significant new features.

Presentaton:

  • ?Align type ID values used in local URI construction with type URIs/CURIEs
  • Identifier display: try to find label instead of CURIE display; augment sitedata accordingly?

Technical debt:

  • Clean up code for site data creation, rather than using a hacked test case
  • Rename src/analist_site to src/annalist_root.
  • update to Django 1.7
  • re-work field rendering to use Django 1.7 capabilities (use code rather than templates? simplify context generation?)
  • Convert literal CURIES to namespace references
  • entity object should carry URI only. Other fields (host, path, etc. should be generated as required. Suggest use an internal value that allows x.uri.path, .host, etc. as required,) See also issue Web backend storage #32.
  • rationalize/simplify fields and methods in site/collection model classes - there appears to be some duplication
  • move util.py to utils package, and rename?
  • look into using named tuples instead of dictionaries for rendering
  • Investigate Python 3 compatibility
@gklyne
Copy link
Owner Author

gklyne commented Feb 15, 2019

Python 3 compatibility has been established in release 0.5.12 of the Annalist codebase, but there are some dependencies that aren't yet ready.

From 0.5.12 release notes:

All code has been updated to run under Python 3.7, but package dependencies Django 1.11 and rdflib-jsonld 0.4.0 are not ready (though easily patched).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant