1
0
mirror of https://github.com/taigrr/bitcask synced 2025-01-18 04:03:17 -08:00

19 Commits

Author SHA1 Message Date
Bryan Stenson
295301a44c
Add configuration options for FileMode (#183)
* Add configuration options for FileMode

Add two additional configuration values, and their corresponding default values:

* DirFileModeBeforeUmask - Dir FileMode is used on all directories created.  DefaultDirFileModeBeforeUmask is 0700.
* FileFileModeBeforeUmask - File FileMode is used on all files created, except for the "lock" file (managed by the Flock library).  DefaultFileFileModeBeforeUmask is 0600.

When using these bits of configuration, keep in mind these FileMode values are set BEFORE any umask rules are applied.  For example, if the user's umask is 022, setting DirFileFileModeBeforeUmask to 777 will result in directories with FileMode set to 755 (this umask prevents the write bit from being applied to group and world permissions).

* moving defer statements after checking for errors

use os.ModePerm const instead of os.FileMode(777)

* fix spelling/grammar

* skip these tests for Windows as they appear to break - Windows is less POSIX-y than it claims

* ignore "lock" file for default case too -- this was incorrectly passing before including this, as my local dev station has umask 022
2020-11-05 08:06:45 +10:00
garsue
4006519992
Fix typo in labeler (#172)
* Fix typo in labeler

Maybe just a typo :)

* Update AUTHORS

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-08-25 20:55:44 +10:00
Ignacio Hagopian
ea2fb512a8
ci: add Go 1.14 to matrix (#152)
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-05-05 15:00:20 +10:00
James Mills
4ce7610fe9
Fixed workflows to not run twice unnecessarily 2020-02-02 11:15:51 +10:00
James Mills
3b433acc9f
Fixed typos in workflows 2020-02-02 08:00:44 +10:00
James Mills
e171331c25
Run CI on push 2020-02-02 07:44:05 +10:00
James Mills
944cc58cf5
Removed automerge workflow 2020-02-01 23:17:48 +10:00
James Mills
14c9d111f0
Removed broken auto-merge workflow action 2020-01-28 22:22:11 +10:00
James Mills
f02e3d6763
Fixed auto-merge dependent jobs 2020-01-28 12:59:35 +10:00
James Mills
f032207444
Fixed sale messages workflows 2020-01-27 12:32:00 +10:00
James Mills
b5b9e07c96
Added auto merge workflow 2020-01-26 14:11:25 +10:00
James Mills
433e1b1aed
Added auto approve workflow 2020-01-26 14:07:31 +10:00
James Mills
35318126b7
Added auto-merge workflow for dependabot 2020-01-26 13:59:46 +10:00
James Mills
ccf2517b8f
Added autoassign workflow 2020-01-26 13:48:47 +10:00
James Mills
c25655fcfa
Create stale.yml 2020-01-26 13:30:23 +10:00
James Mills
08e4c9856e
Added labeler workflow 2020-01-26 13:20:18 +10:00
James Mills
96dac702e9
Added Greetings Workflow 2020-01-26 13:14:29 +10:00
James Mills
cae49b3319
Adds Github Actions workflow for Building and Testing (#127)
* Added Github Actions workflow for Reviewing, Building and Testing

* Added codecov workflow

* Fix version of Go used for codecov workflow

* Fixed coverage options
2020-01-26 00:21:34 +10:00
James Mills
cd27b84069
Create FUNDING.yml 2019-08-25 12:01:15 +10:00