Coder Social home page Coder Social logo

Comments (5)

mobb avatar mobb commented on June 9, 2024

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.

clnsmth avatar clnsmth commented on June 9, 2024

I've added preferred list of dateTime format strings to github/EDIorg/ECC/practices/dateTimeFormatString and branched into "development", "staging", and "production".

from ecc.

duanecosta avatar duanecosta commented on June 9, 2024

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):

https://github.com/EDIorg/ECC/raw/development/practices/dateTimeFormatString/dateTimeFormatString_list.csv

from ecc.

mobb avatar mobb commented on June 9, 2024

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.

servilla avatar servilla commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.