Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

Folder structure & best practices #14

Closed
MattZK opened this issue Feb 20, 2019 · 4 comments
Closed

Folder structure & best practices #14

MattZK opened this issue Feb 20, 2019 · 4 comments
Assignees

Comments

@MattZK
Copy link
Collaborator

MattZK commented Feb 20, 2019

Define a project folder structure & best practices for that stucture.
Also discuss repo-wide language.

@MattZK MattZK added meeting topic A topic for the next meeting question Further information is requested labels Feb 20, 2019
@BMatrix BMatrix pinned this issue Feb 20, 2019
@MattZK
Copy link
Collaborator Author

MattZK commented Mar 29, 2019

Main Language: EN

Branches:

  • Feature Branch: feature-<JIRA_story_number>-keyword (eg. feature-40-mqtt for JP19LAFA-40 As a developer, I want sensor updates to happen using MQTT)
  • Fix/Bug Branch: bug-<github_issue_number>
  • Refactor Branch: refactor-<github_issue_number>

Merges:

  • SQUASH MERGE ONLY!
  • ONE FEATURE is ONE COMMIT on master!
  • Title: Short Description (<github_pull_request_number>)
  • Description: Precise description of the changes

@MattZK
Copy link
Collaborator Author

MattZK commented Mar 29, 2019

Folder Structure

Source Files

Sensors

src/sensors/<sensor_type>
-> program -- contains programmed content (main program should be called main)
-> files -- contains all other files related to this sensor (3D, electrical, ...)

Actuators

src/actuators/<actuator_type>
-> program -- contains programmed content (main program should be called main)
-> files -- contains all other files related to this actuator (3D, electrical, ...)

Controllers / Global PCB's

src/controllers/<controller_type>
-> program -- contains programmed content (should be broken down in to multiple folders if contains multiple controllers code)
-> files -- contains all other files related to this controller (3D, electrical, ...)

Web Platform (Server)

src/server/<sensor_type>
TO BE DEFINED

@MattZK MattZK changed the title Define strucutre & best practices Folder structure & best practices Mar 29, 2019
@MattZK MattZK removed meeting topic A topic for the next meeting question Further information is requested labels Mar 29, 2019
@F0xedb
Copy link
Collaborator

F0xedb commented Mar 31, 2019

Issue Structure

Feature

  • Title: [FEATURE] user store number -keyword (eg. [FEATURE] 41-light)

BUG

  • Title: [BUG] feature-user store number -keyword (eg. [BUG] feature-41-light)

REFACTOR

  • Title: [REFACTOR] feature-user store number-keyword (eg. [REFACTOR] feature-41-light)
  • Title: [REFACTOR] global-keyword (eg. [REFACTOR] global-CamelCase)
  • Title: [REFACTOR] featurelist-story 1, story 2, ..., story N-keyword (eg. [REFACTOR] featurelist-41, 11, 8) I²C callback format fixed

@F0xedb
Copy link
Collaborator

F0xedb commented Oct 14, 2019

We have migrated to a new organization. This repo is no longer valid.
See https://github.com/jp19-lafa for more info

@F0xedb F0xedb closed this as completed Oct 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants