Skip to content

Commit 8bf2bff

Browse files
authored
Merge pull request #27 from AlphaOne1/add_code_of_conduct
Add Code of Conduct and CSVQ support with documentation updates.
2 parents fbf2d62 + 07c13ae commit 8bf2bff

4 files changed

Lines changed: 62 additions & 3 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ on:
1010
# For Branch-Protection check. Only the default branch is supported. See
1111
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
1212
branch_protection_rule:
13-
# To guarantee Maintained check is occasionally updated. See
13+
14+
# To guarantee, Maintained check is occasionally updated. See
1415
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
1516
schedule:
1617
- cron: '36 3 * * 2'

CODE_OF_CONDUCT.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
dmorph Community Code of Conduct
2+
=================================
3+
4+
Like the technical community as a whole, the *dmorph* team and community is
5+
made up of a mixture of professionals and volunteers from all over the world,
6+
working on every aspect of the mission—including mentorship, teaching and
7+
connecting people.
8+
9+
Diversity is one of our huge strengths, but it can also lead to communication
10+
issues and unhappiness. To that end, we have a few ground rules that we ask
11+
people to adhere to when they're participating within this community and
12+
project. These rules apply equally to founders, mentors, and those seeking help
13+
and guidance.
14+
15+
This isn't an exhaustive list of things that you can't do. Rather, take it in
16+
the spirit in which it's intended—a guide to make it easier to enrich all of
17+
us, the technical community and the conferences and user groups we hope to guide
18+
new speakers to.
19+
20+
This code of conduct applies to all communication: this includes IRC, the
21+
mailing list, and other forums such as Skype, Google+ Hangouts, etc.
22+
23+
* __Be welcoming, friendly, and patient.__
24+
25+
* __Be considerate.__ Your work will be used by other people, and you in turn
26+
will depend on the work of others. Any decision you make will affect users and
27+
colleagues, and you should take into account those consequences when making
28+
decisions.
29+
30+
* __Be respectful.__ Not all of us will agree all the time, but disagreement is
31+
no excuse for poor behavior and poor manners. We might all experience some
32+
frustration now and then, but we cannot allow that frustration to turn into a
33+
personal attack. It's important to remember that a community where people feel
34+
uncomfortable or threatened is not productive. Members of the *dmorph*
35+
community should be respectful when dealing with other members as well as with
36+
people outside the *dmorph* community and with user groups/conferences,
37+
user group/conference organizers.
38+
39+
* __Be careful in the words that you choose.__ Remember that sexist, racist, and
40+
other exclusionary jokes can be offensive to those around you. Be kind to
41+
others. Do not insult or put down other participants. Behave professionally.
42+
Remember that harassment and sexist, racist, or exclusionary jokes are not
43+
appropriate for the community.
44+
45+
__When we disagree, we try to understand why.__ Disagreements, both social and
46+
technical, happen all the time and *dmorph* is no exception. It is important
47+
that we resolve disagreements and differing views constructively. Remember that
48+
we're different. The strength of *dmorph* comes from its varied community,
49+
people from a wide range of backgrounds. Different people have different
50+
perspectives on issues. Being unable to understand why someone holds a viewpoint
51+
doesn't mean that they're wrong. Don't forget that it is human to err and
52+
blaming each other doesn't get us anywhere, rather offer to help resolving
53+
issues and to help learn from mistakes.
54+
55+
*Original text courtesy of the
56+
[Speak Up! project](http://web.archive.org/web/20141109123859/http://speakup.io/coc.html).*

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ necessary.
7272

7373
Includes direct support for the following relational database management systems:
7474

75+
* [CSVQ](https://mithrandie.github.io/csvq/)
7576
* [IBM Db2](https://www.ibm.com/db2/)
7677
* [Microsoft SQL Server](https://www.microsoft.com/sql-server)
7778
* [MySQL](https://www.mysql.com/) & [MariaDB](https://mariadb.org/)
@@ -107,7 +108,7 @@ A migration is a series of steps, defined either in an SQL file or programmatica
107108
A typical migration file consists of a sequence of SQL statements. Each statement needs to be
108109
finalized with a semicolon `;`. If a semicolon is found alone at the beginning of a line, all
109110
previous statements, that were not yet executed, are executed in one call to Exec in a
110-
transaction. A migration is executed completely inside of a transaction. If any of the steps of
111+
transaction. A migration is executed completely inside a transaction. If any of the steps of
111112
a migration fails, a rollback is issued and the process stops. Take care, that not all database
112113
management systems offer a rollback of DDL (CREATE, DROP, ...) statements.
113114

@@ -216,7 +217,7 @@ func (m CustomMigration) Migrate(tx *sql.Tx) error {
216217
}
217218
```
218219

219-
Inside of the `Migrate` function the transaction state should not be modified.
220+
Inside the `Migrate` function the transaction state should not be modified.
220221
`Commit` and `Rollback` are handled by *DMorph* as needed. As seen in the example, a potentiel error
221222
is returned plain to the caller.
222223

dialects_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ func TestDialectStatements(t *testing.T) {
2121
name string
2222
caller func() BaseDialect
2323
}{
24+
{name: "CSVQ", caller: DialectCSVQ},
2425
{name: "DB2", caller: DialectDB2},
2526
{name: "MSSQL", caller: DialectMSSQL},
2627
{name: "MySQL", caller: DialectMySQL},

0 commit comments

Comments
 (0)