Git Product home page Git Product logo

xima-deployer-extended-typo3's People

Contributors

maikschneider avatar martipoe avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xima-deployer-extended-typo3's Issues

Encrypt database backups

The database dumps created by deployer ({{deploy_path}}/.dep/database/dumps) are not encrypted and therefore a potentially security risk.

It would be nice to extend the db:compress/ db:decompress commands for a password option of the gzip command.

This feature could be used as a PR for deployer-extended-database

Set custom umask before file operations

Umask controls what file permissions are set for newly created files. A wrong umask means that Deployer will create new files with too restrictive or too open permissions.

Its default value can differ between servers and is usually set in ~/.bashrc or /etc/profile, /etc/pam.d/common-session or /etc/bash.bashrc.

However, it can also be set during the current session with the command umask xxxx before creating new files.

# show current umask
:~$ umask
0002
:~$ touch test
:~$ ls -l test 
-rw-rw-r-- 1 user group 0 16. Mai 15:27 test

# change umask
:~$ umask 0027
:~$ touch test2
:~$ ls -l test2
-rw-r----- 1 user group 0 16. Mai 15:28 test2

To eliminate this external dependency, the correct umask should be set by Deployer before executing file operations.

umask 0027
# create new files

As each deployer task can be executed individually and would then run in an isolated session, it would not make much sense to create a Deployer task that sets the umask before other tasks are executed.

Extending the run() command, so that the umask is set prior to all commands executed within that task, may be the better solution. Maybe this should also happen for runLocally()

Server requirements check

This deployment configuration assumes a couple of settings that need to be done before doing a deployment. It would be nice to have an automated test of these server requirements. The PR #6 by @martipoe already contains some of these checks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.