Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jabxjab archive:dump and archive:restore commands #5148

Merged
merged 214 commits into from Jul 7, 2022

Commits on Jan 31, 2022

  1. Add ArchiveCommands.php

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    4cf7316 View commit details
    Browse the repository at this point in the history
  2. Add SQL dump operation

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    81ba6c9 View commit details
    Browse the repository at this point in the history
  3. Add "description", "tags", "destination" and "overwrite" options to a…

    …nnotation
    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    90a8681 View commit details
    Browse the repository at this point in the history
  4. Refactor getDrupalFilesDir();

    Create database.tar sub-archive;
    Create files.tar sub-archive;
    Create master archive.tar.gz
    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    6e8911d View commit details
    Browse the repository at this point in the history
  5. Refactor creating database and file archives

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    e3755c9 View commit details
    Browse the repository at this point in the history
  6. Add createMasterArchive()

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    114071d View commit details
    Browse the repository at this point in the history
  7. Add createManifestFile()

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    421651d View commit details
    Browse the repository at this point in the history
  8. Rename "db_dump" option into "db"

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    099c8a7 View commit details
    Browse the repository at this point in the history
  9. Update default generator value

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    81ba0dd View commit details
    Browse the repository at this point in the history
  10. Add "--destination" and "--overwrite" options

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    d6266dd View commit details
    Browse the repository at this point in the history
  11. Update info messages

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    4a25245 View commit details
    Browse the repository at this point in the history
  12. Log info when creating manifest file

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    a225279 View commit details
    Browse the repository at this point in the history
  13. Remove "master" archive mentions in logs

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    06dfc08 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    787493d View commit details
    Browse the repository at this point in the history
  15. Add "code" component

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    1b12911 View commit details
    Browse the repository at this point in the history
  16. Add getExcludesByPaths()

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    c4e62f4 View commit details
    Browse the repository at this point in the history
  17. Refactor code excludes

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    4e7828b View commit details
    Browse the repository at this point in the history
  18. Exclude css, js, php and styles from file component

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    13bc858 View commit details
    Browse the repository at this point in the history
  19. Exclude from code archive everything from web/ except modules, themes…

    …, profiles
    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    d70cbe0 View commit details
    Browse the repository at this point in the history
  20. Refactor Drupal contrib projects excludes

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    409d5f0 View commit details
    Browse the repository at this point in the history
  21. Exclude sites/*/settings.local.php from code archive

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    e55fce7 View commit details
    Browse the repository at this point in the history
  22. Add validateSensitiveData()

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    d3346ae View commit details
    Browse the repository at this point in the history
  23. Remove todo

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    5fabfc5 View commit details
    Browse the repository at this point in the history
  24. Fix method name

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    17e2086 View commit details
    Browse the repository at this point in the history
  25. Fix getCodeComponentPath()

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    d97e02d View commit details
    Browse the repository at this point in the history
  26. Rename getCodeComponentPath() into getProjectPath()

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    fe14016 View commit details
    Browse the repository at this point in the history
  27. Add site validation

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    4dec98b View commit details
    Browse the repository at this point in the history
  28. Update command description

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    12cd1fc View commit details
    Browse the repository at this point in the history
  29. Fix validateSite()

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    d2df4ed View commit details
    Browse the repository at this point in the history
  30. Add ArchiveTest

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    e52ee2e View commit details
    Browse the repository at this point in the history
  31. Fix code style issues

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    329bbca View commit details
    Browse the repository at this point in the history
  32. Add support for non-Composer managed, non-web docroot sites

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    dd40537 View commit details
    Browse the repository at this point in the history
  33. Fix command for non-web docroot sites

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    9b5a6c8 View commit details
    Browse the repository at this point in the history
  34. Exclude settings.*.php

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    8ac02b6 View commit details
    Browse the repository at this point in the history
  35. Fix testArchiveDumpCommand() test

    Sergei Churilo committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    a850997 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Add cleanUp() shutdown function

    Use Symfony Filesystem component
    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    a300d59 View commit details
    Browse the repository at this point in the history
  2. Copy code archive component to archive dir

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    2bfc9eb View commit details
    Browse the repository at this point in the history
  3. Use constants for archive component names

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    2199a09 View commit details
    Browse the repository at this point in the history
  4. Refactor excludes

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    9e4b75f View commit details
    Browse the repository at this point in the history
  5. Simplify cleanUp()

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    977900c View commit details
    Browse the repository at this point in the history
  6. Rename constants

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    d67faf6 View commit details
    Browse the repository at this point in the history
  7. Rename getExcludesByPaths() into getRegexpsForPaths()

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    95b74b4 View commit details
    Browse the repository at this point in the history
  8. Update phpdocs

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    7b7476e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    95c2f1e View commit details
    Browse the repository at this point in the history
  10. Rename var

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    90dc700 View commit details
    Browse the repository at this point in the history
  11. Use Path::join()

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    5f81996 View commit details
    Browse the repository at this point in the history
  12. Use array_map in getRegexpsForPaths()

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    8a5ffd0 View commit details
    Browse the repository at this point in the history
  13. Rename getIterator()

    Sergei Churilo committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    f86121e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9bd56d7 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Fix missing manifest file

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    6eb1086 View commit details
    Browse the repository at this point in the history
  2. Return absolute path to the archive

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    8a9d851 View commit details
    Browse the repository at this point in the history
  3. Delete temp archive.tar.gz if exists

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    7f05ffe View commit details
    Browse the repository at this point in the history
  4. Add scenarios to testArchiveDumpCommand()

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    948c7fe View commit details
    Browse the repository at this point in the history
  5. Fix code style issues

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    910780b View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/archive-dump-command' into archi…

    …ve-dump-command
    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    a73e6f8 View commit details
    Browse the repository at this point in the history
  7. Fix testArchiveDumpCommand()

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    d97616c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8231582 View commit details
    Browse the repository at this point in the history
  9. Remove setSimulated()

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    c02c576 View commit details
    Browse the repository at this point in the history
  10. Set php memory_limit to 256M in appveyor.yml

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    08a502c View commit details
    Browse the repository at this point in the history
  11. Fix file iterator local file path handling

    Sergei Churilo committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    198821d View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Remove unused constants

    Sergei Churilo committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    ac05787 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Configuration menu
    Copy the full SHA
    866e304 View commit details
    Browse the repository at this point in the history
  2. Create temp dir on command execution only

    Sergei Churilo committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    83c448d View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/archive-dump-command' into archi…

    …ve-dump-command
    Sergei Churilo committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    b0919a7 View commit details
    Browse the repository at this point in the history
  4. Add ArchiveRestoreCommands backbone

    Sergei Churilo committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    646e1f6 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Add confirmation prompts

    Sergei Churilo committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    046f089 View commit details
    Browse the repository at this point in the history
  2. Implement extractArchive()

    Sergei Churilo committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    7114237 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Add check for file existence

    Sergei Churilo committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    cf638cb View commit details
    Browse the repository at this point in the history
  2. Add check for filename extension

    Sergei Churilo committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    53b8fc4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05e8c81 View commit details
    Browse the repository at this point in the history
  4. Add todo

    Sergei Churilo committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    ad0cbfc View commit details
    Browse the repository at this point in the history
  5. Import code file for a local target only

    Sergei Churilo committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    7bb8445 View commit details
    Browse the repository at this point in the history
  6. Import code files for a remote targets

    Sergei Churilo committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    d9a3eaf View commit details
    Browse the repository at this point in the history
  7. Add 'docroot' property to the manifest file

    Sergei Churilo committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    accaa1c View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Fix $aliasConfigContext

    Sergei Churilo committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    2238007 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87faad9 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2022

  1. Fix nested php includes in validateSensitiveData()

    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    95fdf66 View commit details
    Browse the repository at this point in the history
  2. Bootstrap Drupal core to get a path to Drupal public files

    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    ebdd7e1 View commit details
    Browse the repository at this point in the history
  3. Disable type3/phar-stream-wrapper which loads with Drupal core and pr…

    …events creating *.tar archives
    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    d6f76b9 View commit details
    Browse the repository at this point in the history
  4. Fix getDrupalFilesComponentPath()

    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    57c5b83 View commit details
    Browse the repository at this point in the history
  5. Remove Site Alias manager

    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    a0978e7 View commit details
    Browse the repository at this point in the history
  6. Refactor validateSensitiveData() to include site/*/settings.php file …

    …without include/require directives
    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    f9988db View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8ef4743 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b8e0682 View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'origin/archive-dump-command' into archi…

    …ve-dump-command
    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    36ed35b View commit details
    Browse the repository at this point in the history
  10. Fix scenario when backup dir is inside code dir (and on Windows OS) u…

    …sing \Webmozart\PathUtil\Path util
    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    ba3c0be View commit details
    Browse the repository at this point in the history
  11. Merge remote-tracking branch 'origin/archive-dump-command' into archi…

    …ve-dump-command
    
    # Conflicts:
    #	src/Commands/core/ArchiveDumpCommands.php
    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    3cbe088 View commit details
    Browse the repository at this point in the history
  12. Fix getCodeComponentPath()

    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    0f760ff View commit details
    Browse the repository at this point in the history
  13. Improve verbosity in validateSensitiveData()

    Sergei Churilo committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    e0d03ba View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Add dt() to Exception messages

    Sergei Churilo committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    4c939df View commit details
    Browse the repository at this point in the history
  2. Refactor Drupal-related excludes - exclude paths defined in composer.…

    …json in "extra"/"installer-paths" section
    Sergei Churilo committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    650a372 View commit details
    Browse the repository at this point in the history
  3. Detect Drupal files exclude for code component

    Sergei Churilo committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    0d7d837 View commit details
    Browse the repository at this point in the history
  4. Use 'composer info --path --format=json' to exclude packages installa…

    …tion paths
    Sergei Churilo committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    2fc7c92 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a486209 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    25cd93a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    da8a687 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Add '%composer-root' to core:status command

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    a3d1022 View commit details
    Browse the repository at this point in the history
  2. Add 'composer-root' to @field-labels/@default-fields of core:status c…

    …ommand
    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    ad44967 View commit details
    Browse the repository at this point in the history
  3. Detect composer root for a remote site

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    310162b View commit details
    Browse the repository at this point in the history
  4. Add rsyncFiles()

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    cbc4811 View commit details
    Browse the repository at this point in the history
  5. Add importFiles()

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    b7a8e3a View commit details
    Browse the repository at this point in the history
  6. Add getSiteAlias(), getSiteStatus()

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    454a390 View commit details
    Browse the repository at this point in the history
  7. Fix $evaluatedPath instantiation for a remote site

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    cd827dc View commit details
    Browse the repository at this point in the history
  8. Detect composer root for a remote site

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    aa47e32 View commit details
    Browse the repository at this point in the history
  9. Add rsyncFiles()

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    a97535c View commit details
    Browse the repository at this point in the history
  10. Add importFiles()

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    e6d28f9 View commit details
    Browse the repository at this point in the history
  11. Add getSiteAlias(), getSiteStatus()

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    6c7f2cb View commit details
    Browse the repository at this point in the history
  12. Fix $evaluatedPath instantiation for a remote site

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    ffaf9d0 View commit details
    Browse the repository at this point in the history
  13. Add blueprint of importDatabase()

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    c508306 View commit details
    Browse the repository at this point in the history
  14. Update importDatabase()

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    4ad10c2 View commit details
    Browse the repository at this point in the history
  15. Fix todos

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    d235854 View commit details
    Browse the repository at this point in the history
  16. Fix code style issues

    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    1a47d72 View commit details
    Browse the repository at this point in the history
  17. Merge remote-tracking branch 'upstream/11.x' into archive-restore-com…

    …mand
    Sergei Churilo committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    994c681 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Add testArchiveRestoreCommand() to ArchiveTest

    Sergei Churilo committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    54535ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b724bf4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcb9164 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Add test scenario for "--overwrite" option

    Sergei Churilo committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    ed49878 View commit details
    Browse the repository at this point in the history
  2. Add test scenario for "--code", "--code_path", "--db", "--db_path", "…

    …--files", "--files_path" options
    Sergei Churilo committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    dc0f3bb View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Merge branch 'archive-dump-command' of https://github.com/jabxjab/drush

    … into jabxjab-archive-dump-command
    greg-1-anderson committed May 18, 2022
    Configuration menu
    Copy the full SHA
    4a8f260 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. Configuration menu
    Copy the full SHA
    48a4765 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4854e03 View commit details
    Browse the repository at this point in the history
  3. Code style

    greg-1-anderson committed May 19, 2022
    Configuration menu
    Copy the full SHA
    f4bb527 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. Simplify tests: do one less archive:dump, and instead use file_put_co…

    …ntents to test with and without --overwrite.
    greg-1-anderson committed May 20, 2022
    Configuration menu
    Copy the full SHA
    52ef17b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27bed6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfc8dce View commit details
    Browse the repository at this point in the history
  4. Merge branch 'archive-restore-command' of https://github.com/jabxjab/…

    …drush into jabxjab-archive-dump-command
    greg-1-anderson committed May 20, 2022
    Configuration menu
    Copy the full SHA
    2058727 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9fb02c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f1b8ce View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. Remove eval() from validateSensitiveData()

    Sergei Churilo committed May 23, 2022
    Configuration menu
    Copy the full SHA
    16e51df View commit details
    Browse the repository at this point in the history
  2. Remove support for a remote site for archive:restore command

    Sergei Churilo committed May 23, 2022
    Configuration menu
    Copy the full SHA
    b28124e View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Add an option to restore code into current dir if empty

    Sergei Churilo committed May 24, 2022
    Configuration menu
    Copy the full SHA
    1516fd5 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Remove ssh-related option

    Sergei Churilo committed May 25, 2022
    Configuration menu
    Copy the full SHA
    e826896 View commit details
    Browse the repository at this point in the history
  2. Add --destination_path option

    Sergei Churilo committed May 25, 2022
    Configuration menu
    Copy the full SHA
    3f5da75 View commit details
    Browse the repository at this point in the history
  3. Rename archive:restore options

    Sergei Churilo committed May 25, 2022
    Configuration menu
    Copy the full SHA
    cecf35f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7ca3fbd View commit details
    Browse the repository at this point in the history
  5. Throw exception on Drupal bootstrap failure when getting Drupal files…

    … path
    Sergei Churilo committed May 25, 2022
    Configuration menu
    Copy the full SHA
    af6d29f View commit details
    Browse the repository at this point in the history
  6. Add archive:restore options: db-name, db-port, db-host, db-user, db-p…

    …assword, db-prefix, db-driver
    Sergei Churilo committed May 25, 2022
    Configuration menu
    Copy the full SHA
    443c008 View commit details
    Browse the repository at this point in the history
  7. Replace underscores with dashes in option names

    Sergei Churilo committed May 25, 2022
    Configuration menu
    Copy the full SHA
    635b332 View commit details
    Browse the repository at this point in the history
  8. Update tests for archive:restore

    Sergei Churilo committed May 25, 2022
    Configuration menu
    Copy the full SHA
    4c86392 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Remove $autodetectDestination

    Sergei Churilo committed May 26, 2022
    Configuration menu
    Copy the full SHA
    a016676 View commit details
    Browse the repository at this point in the history
  2. Fix indentations

    Sergei Churilo committed May 26, 2022
    Configuration menu
    Copy the full SHA
    233e746 View commit details
    Browse the repository at this point in the history
  3. Disable SecurityUpdatesTest.php temporarily

    Sergei Churilo committed May 26, 2022
    Configuration menu
    Copy the full SHA
    f7e66e9 View commit details
    Browse the repository at this point in the history
  4. Require database connection option(s) when --destination-path options…

    … is provided
    Sergei Churilo committed May 26, 2022
    Configuration menu
    Copy the full SHA
    85b87a9 View commit details
    Browse the repository at this point in the history
  5. Add support for relative paths in --destination-path option

    Sergei Churilo committed May 26, 2022
    Configuration menu
    Copy the full SHA
    5c3f925 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2022

  1. Configuration menu
    Copy the full SHA
    e681e9b View commit details
    Browse the repository at this point in the history
  2. Add test scenarios for testArchiveRestoreCommand()

    Sergei Churilo committed May 27, 2022
    Configuration menu
    Copy the full SHA
    2989b10 View commit details
    Browse the repository at this point in the history
  3. Set sut db password to empty string

    Sergei Churilo committed May 27, 2022
    Configuration menu
    Copy the full SHA
    a6bb6bb View commit details
    Browse the repository at this point in the history
  4. Use self::getDbUrl() to construct --db-url

    Sergei Churilo committed May 27, 2022
    Configuration menu
    Copy the full SHA
    8c5ea64 View commit details
    Browse the repository at this point in the history
  5. Add tearDown() to delete a test file

    Sergei Churilo committed May 27, 2022
    Configuration menu
    Copy the full SHA
    951c1a7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    de2fbdc View commit details
    Browse the repository at this point in the history
  7. Add --db-driver option in tests

    Sergei Churilo committed May 27, 2022
    Configuration menu
    Copy the full SHA
    4f869fa View commit details
    Browse the repository at this point in the history
  8. Add testing scenarios for database component involving --destination-…

    …path option
    Sergei Churilo committed May 27, 2022
    Configuration menu
    Copy the full SHA
    17e3184 View commit details
    Browse the repository at this point in the history
  9. Revert "Disable SecurityUpdatesTest.php temporarily"

    This reverts commit f7e66e9.
    Sergei Churilo committed May 27, 2022
    Configuration menu
    Copy the full SHA
    237c8f5 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Configuration menu
    Copy the full SHA
    7394da5 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. Allow archive:restore to extract archive and files to cwd. Improve Fs…

    …Utils::tmpDir, and use it in archive:restore. Add default options to sut to avoid including Drush sources in archive:dumps of the sut, for more convenient ad-hoc testing.
    greg-1-anderson committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    d6ad8f7 View commit details
    Browse the repository at this point in the history
  2. Code style

    greg-1-anderson committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    6c83ac8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    443c63f View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Fix var name typo

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    37bbae7 View commit details
    Browse the repository at this point in the history
  2. Remove unused namespace, @throws tag and $root var

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    e309b62 View commit details
    Browse the repository at this point in the history
  3. Remove unused namespaces and ARCHIVE_SUBDIR_NAME const

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    a73205d View commit details
    Browse the repository at this point in the history
  4. Refactor extractArchive() into getExtractDir()

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    e3a33f5 View commit details
    Browse the repository at this point in the history
  5. Create database if not exists database import

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    50b21a9 View commit details
    Browse the repository at this point in the history
  6. Remove duplicated testing scenarios

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    6d99d63 View commit details
    Browse the repository at this point in the history
  7. Update archive:restore tests

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    79f132a View commit details
    Browse the repository at this point in the history
  8. Remove tearDown()

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    0aaf2f7 View commit details
    Browse the repository at this point in the history
  9. Use setDbSpec() before calling query() in ArchiveRestoreCommands::imp…

    …ortDatabase()
    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    0af00db View commit details
    Browse the repository at this point in the history
  10. Fix drop/create db in importDatabase()

    Sergei Churilo committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    91bbff0 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Remove escaping "\" in --exclude-code-paths

    Sergei Churilo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    2cfc814 View commit details
    Browse the repository at this point in the history
  2. Add composer.json and composer.lock to a SUT's archive

    Sergei Churilo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    76453b5 View commit details
    Browse the repository at this point in the history
  3. Run 'composer install' after archive:restore in testArchiveRestoreCom…

    …mand()
    Sergei Churilo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    085bf85 View commit details
    Browse the repository at this point in the history
  4. Manage SUT's settings.php file

    Sergei Churilo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    977048a View commit details
    Browse the repository at this point in the history
  5. Refactor settings.php file setup procedures

    Sergei Churilo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    a1546dc View commit details
    Browse the repository at this point in the history
  6. Remove unused arg

    Sergei Churilo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    d87be11 View commit details
    Browse the repository at this point in the history
  7. Delete destination directory in case when code component is involved …

    …and add a confirmation dialog
    Sergei Churilo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    f17df0e View commit details
    Browse the repository at this point in the history
  8. Add confirmation dialog for Drupal files restore if destination path …

    …already exists and --overwrite is not set
    Sergei Churilo committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    bc3576d View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. Fix tests

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    05b0014 View commit details
    Browse the repository at this point in the history
  2. Show prompt on file import if Drupal files dir exists and one of --co…

    …de or --overwrite option is not set
    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    663940a View commit details
    Browse the repository at this point in the history
  3. Refactor setupSettingsPhp()

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    c0d7857 View commit details
    Browse the repository at this point in the history
  4. Refactor backupSettingsPhp()

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    f88d5e6 View commit details
    Browse the repository at this point in the history
  5. Add installComposerDependencies()

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    bb57463 View commit details
    Browse the repository at this point in the history
  6. Add assertRestoredSiteStatus()

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    5409dcc View commit details
    Browse the repository at this point in the history
  7. Remove "composer install" code in favor of the method

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    27a9c8a View commit details
    Browse the repository at this point in the history
  8. Remove excessive assertion

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    21fd98c View commit details
    Browse the repository at this point in the history
  9. Add "composer install" to testArchiveRestoreCommand()

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    a537380 View commit details
    Browse the repository at this point in the history
  10. Change $filesRelativePath to a real value

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    8c4a526 View commit details
    Browse the repository at this point in the history
  11. Assert the restored site is OK

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    8470eee View commit details
    Browse the repository at this point in the history
  12. Add more assertions that the restored site is OK

    Sergei Churilo committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    ca2ba94 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1d87ff0 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Remove "composer install" from tests

    Sergei Churilo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    6c1affb View commit details
    Browse the repository at this point in the history
  2. Rename "destination path" property/method name

    Sergei Churilo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    713f7ff View commit details
    Browse the repository at this point in the history
  3. Add --code-no-composer-install and --code-composer-install-timeout op…

    …tions
    Sergei Churilo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    67545c7 View commit details
    Browse the repository at this point in the history
  4. Add "composer install" to importCode()

    Sergei Churilo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    4b5ad2c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7a16377 View commit details
    Browse the repository at this point in the history
  6. Add --site-subdir and --setup-database-connection options

    Sergei Churilo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    9345138 View commit details
    Browse the repository at this point in the history
  7. Add getDrupalRootPath()

    Sergei Churilo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    0e20a6b View commit details
    Browse the repository at this point in the history
  8. Update $options default value

    Sergei Churilo committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    bd0bcbb View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. Add setupLocalSettingsPhp()

    Sergei Churilo committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    79528c5 View commit details
    Browse the repository at this point in the history
  2. Update testArchiveRestoreCommand()

    Sergei Churilo committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    3ee5142 View commit details
    Browse the repository at this point in the history
  3. Fix code style issue

    Sergei Churilo committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    48fed8d View commit details
    Browse the repository at this point in the history
  4. Add saveSettingsLocalPhp()

    Sergei Churilo committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    fa4668d View commit details
    Browse the repository at this point in the history
  5. Add database connection settings to settings.local.php file

    Sergei Churilo committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    81e8d01 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Configuration menu
    Copy the full SHA
    950c41b View commit details
    Browse the repository at this point in the history
  2. Fix null command references (in service commands list) during Drupal …

    …bootstrap phase (which causes "PHP Fatal error: Cannot redeclare drupal_error_levels() (previously declared in..." in test_81_drupal10_highest CI pipeline)
    Sergei Churilo committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    841fa04 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Jabxjab archive dump command updates (#5165)

    * field-delete: Fix field being deleted from all bundles instead of only the requested bundle (#5158)
    
    * Updates input default options and provides destination validation.
    
    * Removes automatic composer install and adds user feedback.
    
    * Resolves phpcs feedback.
    
    * Adds composer install to test to allow Drupal installation.
    
    * Resolves code sniff.
    
    * Adds needed class.
    
    * Runs composer update to resolve security warnings.
    
    * Updates guzzle version.
    
    Co-authored-by: Dieter Holvoet <dieter.holvoet@gmail.com>
    Co-authored-by: Ryan Wagner <ryan.wagner@pantheon.io>
    3 people committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    2a0b7c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4639811 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    f5cf904 View commit details
    Browse the repository at this point in the history
  2. Remove class phpdoc descriptions

    Sergei Churilo committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    44fc67e View commit details
    Browse the repository at this point in the history
  3. Remove unused "use" statement

    Sergei Churilo committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    14b2a81 View commit details
    Browse the repository at this point in the history
  4. Remove --code-no-composer-install and --code-composer-install-timeout…

    … options
    Sergei Churilo committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    b49910a View commit details
    Browse the repository at this point in the history
  5. Remove @var phpdocs on explicitly declared class properties

    Sergei Churilo committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    47b0cf7 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Add @Usage examples for archive:restore

    Sergei Churilo committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    1224b03 View commit details
    Browse the repository at this point in the history
  2. Add @Usage examples for archive:dump

    Sergei Churilo committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    9585fbc View commit details
    Browse the repository at this point in the history
  3. Validate "rsync" exists for archive:restore command

    Sergei Churilo committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    2ec211c View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    5cdba2a View commit details
    Browse the repository at this point in the history