Skip to content

Commit

Permalink
progress on constitution cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chase2981 committed Apr 22, 2021
1 parent 2370964 commit e2fd476
Show file tree
Hide file tree
Showing 20 changed files with 96 additions and 70 deletions.
4 changes: 2 additions & 2 deletions .deploy/send-email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const fs = require('fs'),
data = fs.readFileSync(join(__dirname, `assets/attachments/${filename}`));

const msg = {
to: 'chase@rentdynamics.com',
from: 'rd-flex@zoot.dev',
to: process.env.SENDGRID_TO,
from: process.env.SENDGRID_FROM,
subject: 'Constitution Changed',
text: 'Hello plain world!',
html: '<p>Hello HTML world!</p>',
Expand Down
44 changes: 44 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/PROPOSAL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: New Proposal
about: Use this template for creating new proposals
title: "[DATE]: [PROPOSAL NAME]"
labels: proposal
assignees: developers
---



[ ] - Naming shall be done like migrations

Add/replace/remove existing rule

Add applicable programming language in question

Supporting Documentation

Yes/no or multiple choice

Type: Style guide rule, PR rule, Critical Decision, or Other

Stakeholders



Proposal
=======
<!--When [user's work/life context] I want to [motivation] so I can [outcome/benefit].-->


Stakeholders
===============


Documentation
===============



Approvals
========
- [ ] Design Review
- [ ] Technical Review
47 changes: 0 additions & 47 deletions .github/workflows/npm-publish.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@

# Code Owners section:
# changes to redux
store/ @chase2981
reducers/ @chase2981
# store/ @chase2981
# reducers/ @chase2981

# changes to deploy
deploy/ @levicus @chase2981
.circleci/ @levicus @chase2981
# deploy/ @levicus @chase2981
# .circleci/ @levicus @chase2981

# changes to actual codeowners file
CODEOWNERS @chase2981 @RentDynamics/qa @levicus
rules @chase2981 @RentDynamics/qa @levicus
37 changes: 20 additions & 17 deletions CONSTITUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,24 @@ stakeholders.
All current software team leads employed at {CompanyName} are to be considered active voting senators.


### Article V - Meetings
### Article V - Executive Branch

#### Section 1 - General meetings
The executive branch of {OrgAbbreviation} shall consist of a Vice President only.

General meetings are to be held at a reasonable time and location once per year. Any member can join these meetings. Only active voting senators can call these meetings.
C. The Vice President shall fulfill the following duties:

1. Cast votes in the proceedings of the Senate in the case of a tie vote

#### Section 1 - General meetings

General meetings are to be held at a reasonable time and location once per year. Only active voting senators can call meetings. Any member can join these meetings.


### Article V - Legislative Branch

#### Section 1 – Name

The Legislative Branch shall be referred to hereafter as the “Senate.”
The Legislative Branch shall be referred to hereafter as the “Senate”.

#### Section 2 – Obligation

Expand All @@ -65,25 +71,22 @@ the Senate.
A. Definition – The term “rule” shall be any act of the Senate that shall affect a change throughout
the codebase.

B. Definition – The term “proposal” shall be any legislation intended to become a new rule that has not yet been approved.
B. Definition – The term “proposal” shall be any legislation intended to become a new "rule" that has yet to be approved.

C. Any new proposal's filename shall begin with the date in YYYY-MM-DD format, followed by a brief title of it's contents, followed by "proposal". (ie. 2021-04-22-github-code-review-proposal.md)

C. Proposals shall be typewritten and delivered via a github [issue|pull-request] in the following format.
D. Proposals shall be submitted electronically with supporting documentation via a github [issue|pull-request] in the following format:

1. Title must be written single spaced
2. A brief description of the proposed rule
3. todo: elaborate here...
6. The words “respectfully submitted by” and a list of authors and sponsors.

3. todo: elaborate here..

D. A "proposal" is considered a new "rule" when a simple majority of Senators vote for passage over the course of the next 24 hours after being submitted. (each person only has one vote)

E. At least fifty percent quorum is needed to establish rules. Two-thirds vote is required to amend them.
E. A "proposal" will only be allowed to be voted upon in the event the proposal has at least one (1) additional senate sponsor, in addition to the senate author. A proposal will be deemed to be sponsored when a contributor besides the author approves the PR.

F. Any passed "rules" shall be approved in github by a ranking member and immediately merged into their corresponding folder within this repo
D. A "proposal" will only be considered a new "rule" once a simple majority of Senators vote for passage of the proposal after the proposal has been successfully reviewed by a sponsor. (each active voting member is only worth one vote)

1. Each new rule shall begin with an ever increasing number followed by a brief description of it's contents. (ie. 01-github-code-review-proposal.md)
2.
F. Any newly passed "proposals" shall be immediately merged into the "rules" folder within this repo. (rules)[./rules/]

### Article VI - Constitutional Amendments

Expand All @@ -100,13 +103,13 @@ regulations.
### Article XIV - RATIFICATION

Section 1 - This Constitution shall become effective upon ratification by
a majority of the active members voting in a special election.
a majority of the {CompanyName} software engineers voting in a special election to ratify it.

### Article VI - Supreme Law of Land
### Article VI - SUPREME LAW OF LAND

Section 1 - This Constitution, and the laws created pursuant thereof; under the authority of {CompanyName}, shall be the supreme law of the land.

Section 2 - The active members before mentioned, shall be bound by oath or affirmation, to support this Constitution;
Section 2 - The active voting members before mentioned, shall be bound by oath or affirmation, to support this Constitution;


### ARTICLE XIII: STATEMENT OF COMPLIANCE
Expand Down
Empty file removed laws/02-proposal.md
Empty file.
25 changes: 25 additions & 0 deletions rules/01-adopt-default-angular-style-guide-proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
slug: consititution
title: Constitution Proposal
author: Chase Gibbons
author_title: RD Flex Team Lead
author_url: https://github.com/chase2981
author_image_url: https://avatars0.githubusercontent.com/u/10983569?s=460&u=8650ce0534ec60d4d813f15c39f9f4dffa629e46&v=4
tags: [style, guide, proposal, constitution, changes, design, doc, architecture, rules, documentation, voting]
---



Naming shall be done like migrations

Add/replace/remove existing rule

Add applicable programming language in question

Supporting Documentation

Yes/no or multiple choice

Type: Style guide rule, PR rule, Critical Decision, or Other

Stakeholders
File renamed without changes.
Empty file removed teams/flex-team/CONSTITUTION.md
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.

0 comments on commit e2fd476

Please sign in to comment.