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

ZéPS-Core V2 #7

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

ZéPS-Core V2 #7

wants to merge 13 commits into from

Commits on Jan 8, 2018

  1. Various refactorings and updates.

    * NEW: Updated dependencies
    * NEW: Added basic integration test and fixture
    * NEW: Separated the main application's logic (zeps-core) to a library
      project (zeps)
    * NEW: Added config::read_world() method.
    * NEW: Added data::World::stations() and data::Network::stations()
      methods, which return optimized iterators.
    * BUG: Coordinates are now signed integers
    prokopyl committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    c0260cd View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. Added failure, and renamed World to Universe

    * NEW: Renamed the World structures to Universe
    * NEW: Add some public methods so the compiler won't complain about
      unused fields
    * NEW: Added error management (using the failure crate)
    * NEW: Added configuration errors
    * NEW: Added missing NetworkConnection structure
    * NEW: Added Station.is_hidden field
    prokopyl committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    4c831bc View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2018

  1. Added lines import and changed network structure.

    * NEW: lines are now imported and validated (e.g. for valid stations in them).
    * NEW: instead of a HashMap<String, Station>, stations of a network are now in a HashMap<String, Rc<Station>>.
    * NEW: updated fixture to validate.
    AmauryCarrade committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    e6b1751 View commit details
    Browse the repository at this point in the history
  2. Updated JSON structure: subname -> sub_name.

    * NEW: the `subname` key in the stations objects is now `sub_name`.
    AmauryCarrade committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    567c53c View commit details
    Browse the repository at this point in the history
  3. Networks connections are loaded and checked.

    * NEW: network explicit connections (in networks_connections.connections) are loaded and the stations are checked in their respective networks.
    
    What could be improved:
    - error message on unknown station, to specify the context and the network.
    AmauryCarrade committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    5c5e204 View commit details
    Browse the repository at this point in the history
  4. Added new unit tests.

    * NEW: added tests to check if the universes are correctly loaded and parsed, and to check if errors are correctly handled.
    AmauryCarrade committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    d1fea76 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    da7d0d7 View commit details
    Browse the repository at this point in the history
  6. Added Jenkinsfile

    AmauryCarrade committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    bdb4792 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    223b1ca View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4ea0496 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bc8491f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    00dfde8 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2018

  1. More “rustic” condition.

    * OPT: made a condition more “rustic”.
    AmauryCarrade committed Mar 20, 2018
    Configuration menu
    Copy the full SHA
    359d9e8 View commit details
    Browse the repository at this point in the history