Comments (5)
suggestion: use three branches, one each for development, staging and production. this way, pasta can pull from the branch that is analogous to it's implementation (-d, -s).
from ecc.
I've added preferred list of dateTime format strings to github/EDIorg/ECC/practices/dateTimeFormatString and branched into "development", "staging", and "production".
from ecc.
I tested this on my local PASTA instance and on the development PASTA it worked fine. The format strings were read from the following URL (on the EDIorg/ECC development branch):
from ecc.
We should confirm that the way PASTA is using the lists and branches is as planned. Conversation of 2020-06-09 on slack is below with @servilla
Summary: PASTA has been using the dev branch, which as of today, matches the production branch. The staging branch does not have the same files. We should confirm we need these branches (they were useful for a complex check like dateTimeFormatString
). Also confirm that PASTA is using the branches as intended.
Mark Servilla 12:37 PM
@mob, so we are using the version in the ECC:
dml.preferredFormatStringsURL=https://github.com/EDIorg/ECC/raw/development/practices/dateTimeFormatString/dateTimeFormatString_regex.csv
12:41
so the [file] with examples is only for that (examples)
Mark Servilla 12:41 PM
[PASTA] does appear to being using the development branch though
12:43
is there a preferred branch we should be referencing?
Margaret O'Brien 12:43 PM
I remember talking about that (dev vs master.) I would have to look at notes. right now, they seem to be the same.
I recall that dev was literally, for dev (checks that were not in production yet, portal-d). and master would be what portal and portal-s used.
it had to do with the check cycle - ie, that checks needed to be exposed for a period of time before being in production.
Mark Servilla 12:45 PM
production PASTA is also using the development branch
Margaret O'Brien 12:50 PM
There is even a staging branch, and interestingly, it has one file, whose date matches the original text file you linked to
having 3 branches might be overkill. It seemed like a good idea at the time - the dateTimeFormatString checks were complicated. but I think its the only thing we’ve used branches for.
from ecc.
Also note that the regular expressions that are found in the dateTimeFormatString_regex.csv
file are generated using this Python script: https://github.com/PASTAplus/pastaplus_utilities/blob/master/format_string_parser.py
from ecc.
Related Issues (20)
- check to encourage better data set titles? HOT 2
- write a 2 pp summary of ECC activities for IMC annual mgt HOT 2
- summary presentation for IMC meeting
- Review TDWG checking of dateTimes
- temporalCoverage congruence
- consider adding hh:mm to the preferred list
- other congruence/compliance checkers we should be aware of
- new check - pubDate
- new checks, for EML 2.2
- Abstract grammar check
- new checks related to file size, presence and congruence HOT 4
- do we need a level for "ALERT" HOT 1
- Possible new check: use of function="information" HOT 1
- Did 2019 hackathon identify any new potential checks? HOT 5
- infographic summarizing machine-readability check results HOT 8
- raise level of entityNameLength to "error" HOT 8
- received a suggestion: check creator email addresses
- new check: warn if no orcid id
- dataLoadStatus and dateTimes HOT 3
- may we add truncated date representations to dateTimeFormatString_list.csv HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecc.