mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
* 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
43 lines
1.9 KiB
YAML
43 lines
1.9 KiB
YAML
name: Greetings
|
|
on: [pull_request, issues]
|
|
jobs:
|
|
greeting:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/first-interaction@v1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
issue-message: |-
|
|
Hello!
|
|
|
|
Welcome to the Bitcask project! Someone will respond to your issue pretty quickly,
|
|
the author is pretty responsive 😀 In the meantime; please make sure you have read
|
|
the [Contributing](https://github.com/prologic/bitcask/blob/master/CONTRIBUTING.md)
|
|
and [Code of Conduct](https://github.com/prologic/bitcask/blob/master/CODE_OF_CONDUCT.md)
|
|
documents.
|
|
|
|
If possible please also make sure your Bug Report or Feature Request is clearly defined
|
|
with either examples or a reproducible case (_if a bug_).
|
|
|
|
Thank you 😃
|
|
pr-message: |-
|
|
Hello!
|
|
|
|
Welcome to the Bitcask project!
|
|
|
|
Thank you for your Pull Request and Contribution! We highly value all contributions to this Project!
|
|
Your Pull Request will be reviewed shortly! The author is pretty responsive 😀
|
|
In the meantime; please make sure you have read
|
|
the [Contributing](https://github.com/prologic/bitcask/blob/master/CONTRIBUTING.md)
|
|
and [Code of Conduct](https://github.com/prologic/bitcask/blob/master/CODE_OF_CONDUCT.md)
|
|
documents.
|
|
|
|
Please also ensure that your PR passes all the CI/CD tests -- They will appear in your PR
|
|
towards the bottom just above the comment box.
|
|
|
|
Also in addition, if you haven't already; please ammend your PR by modifying the
|
|
[AUTHORS](https://github.com/prologic/bitcask/blob/master/AUTHORS) file and adding
|
|
yourself to it! We like to recognize and peserve in Git history all contributors!
|
|
|
|
Thank you 😃
|