From 649082871b80055ba69986daa19163ad8834c35c Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Fri, 27 Dec 2019 12:22:43 +0000 Subject: [PATCH] ADL builds; application does not yet run. --- .gitignore | 16 ++++++++++++++ README.md | 7 +++--- pastoralist.adl.xml | 52 +++++++++++++++++++++++++++++++++++++-------- project.clj | 2 +- 4 files changed, 64 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index a4cb69a..eccf1ff 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,19 @@ pom.xml.asc .lein-failures .nrepl-port .cpcache/ + +pastoralist.canonical.adl.xml + +resources/sql/pastoralist.postgres.sql + +resources/sql/queries.auto.sql + +src/clj/pastoralist/cache.clj + +src/clj/pastoralist/routes/auto.clj + +src/clj/pastoralist/routes/auto_json.clj + +resources/templates/auto/ + +log/ diff --git a/README.md b/README.md index 938eb42..a577970 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ generated using Luminus version "3.54" -FIXME +A web-app intended to be used by pastoralists in managing +pastures, grazing, and animals. ## Prerequisites @@ -14,8 +15,8 @@ You will need [Leiningen][1] 2.0 or above installed. To start a web server for the application, run: - lein run + lein run ## License -Copyright © 2019 FIXME +Copyright © 2019 Simon Brooke (simon@journeyman.cc) diff --git a/pastoralist.adl.xml b/pastoralist.adl.xml index f5df9cb..8f87077 100644 --- a/pastoralist.adl.xml +++ b/pastoralist.adl.xml @@ -55,7 +55,7 @@ version="0.0.1"> - + Records are not normally deleted from this system because @@ -108,6 +108,7 @@ version="0.0.1"> + @@ -157,13 +158,46 @@ version="0.0.1"> + + + + + + + + + + + Number of holdings affected by this event type; if an animal movement on + or off, for example, it will be two, otherwise normally one. + + + + + + Number of pastures affected by this event type; if an animal movement between + pastures, for example, it will be two, otherwise normally one. + + + + + + Number of animals affected by this event type. If a value greater than 10 + is recorded, that will be treated as 'many'. TODO: not comfortable that + that is the right way to handle 'many'. + + + + + - - + @@ -176,20 +210,20 @@ version="0.0.1"> + distinct="user"> Does a canvasser record need a phone field? There is a phone field on the elector record. I suppose, for under-16 canvassers, there may be no elector record. + distinct="user"> - - + diff --git a/project.clj b/project.clj index 53c0e08..445a74e 100644 --- a/project.clj +++ b/project.clj @@ -3,7 +3,7 @@ :description "FIXME: write description" :url "http://example.com/FIXME" - :dependencies [[adl-support "0.1.6"] + :dependencies [[adl-support "0.1.7-SNAPSHOT"] [ch.qos.logback/logback-classic "1.2.3"] [cheshire "5.9.0"] [clj-oauth "1.5.5"]