Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Minimum Go Lang version required is 1.9 (1.10 not used by Alpine yet and won't allow compile in Docker image, but performance on Arm with 1.10 is desired and should be moved to as soon as possible).
  • Repos names will be in the form of <service>-<language>.  For example core-domain-go
  • Work group leads can make the determination about repositories for their services.  The applications work group, for example, has decided that all Go export code/micro services will go in one repository (export-go).  The decisions are passed to work group leads (working with their development leads) and on a language by language basis that best suits the needs of development and community.
  • Glide will be our vendoring tool of choice (may want to relook with GoDep now released and in production - as of 3/21 Go Project Meeting)
  • Line endings in code files are different for *nix versus Windows.  In *nix, lines end with “\n”.  In Windows, lines end with “\r\n” (carriage return, line feed).  This creates issues when pulling/working with code created in different environments. The *nix line feed is the desired line ending for EdgeX Foundry source code.  Windows developers need to configure tools to use and apply the appropriate line endings.

Configuration files
  • Agreed to use TOML for specifying configuration information (for local config as well as to config-seed) going forward.  Java code will not be altered at this time.
  • Reasons for TOML (over JSON or YAML) is that white spacing is ignored and it may be validated in the future.
  • In the future, EdgeX may support multiple types of configuration - allowing the user to pick the file format.