{"id":14968525,"url":"https://github.com/ncar/panterm","last_synced_at":"2026-01-06T13:30:32.598Z","repository":{"id":248732408,"uuid":"829542126","full_name":"NCAR/panterm","owner":"NCAR","description":"Command line scripts for managing Drupal websites on Pantheon via terminus commands.","archived":false,"fork":false,"pushed_at":"2024-07-25T21:55:28.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T06:33:48.905Z","etag":null,"topics":["drupal","pantheon","terminus"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NCAR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T16:33:02.000Z","updated_at":"2024-07-25T21:55:31.000Z","dependencies_parsed_at":"2025-02-11T06:41:28.056Z","dependency_job_id":null,"html_url":"https://github.com/NCAR/panterm","commit_stats":null,"previous_names":["ncar/panterm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCAR%2Fpanterm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCAR%2Fpanterm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCAR%2Fpanterm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCAR%2Fpanterm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NCAR","download_url":"https://codeload.github.com/NCAR/panterm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245652903,"owners_count":20650586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal","pantheon","terminus"],"created_at":"2024-09-24T13:40:03.931Z","updated_at":"2026-01-06T13:30:32.569Z","avatar_url":"https://github.com/NCAR.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# panterm\nCommand line scripts for managing Drupal websites on Pantheon via terminus commands. Based off the [Developing with DDEV](https://wiki.ucar.edu/display/WED/Developing+with+DDEV) wiki guide.\n\n\n\n## Requirements\n### Software\nYou will need to following installed on your machine:\n- [composer](https://getcomposer.org/download/)\n- [ddev](https://ddev.com/get-started/)\n- [docker](https://docs.docker.com/engine/install/)\n- [gh](https://cli.github.com/)\n- mkcert\n- [terminus](https://docs.pantheon.io/terminus/install)\n\n### Tokens / Keys\nYou will also need the following tokens and keys:\n- [Pantheon machine token](https://docs.pantheon.io/machine-tokens)\n- [Pantheon SSH key](https://docs.pantheon.io/ssh-keys)\n\n\n\n## Setup\nClone this repo and cd into the directory:\n\n``git clone https://github.com/NCAR/panterm``\n\n``cd panterm``\n\nMake script executable by running:\n\n``chmod 755 panterm.sh``\n\nThen run the script without arguments to see options:\n\n``./panterm.sh``\n\nOr with the -h flag:\n\n``./panterm.sh -h``\n\n\n\n## Instructions\nMake sure docker is running **before** running the commands below.\n\nGeneral usage:\n\n``./panterm.sh \u003cscript\u003e [SITENAME] [ARGUMENTS]``\n\n### Script options\n```\nreview\nupdate\n```\n\nTo see instructions for each script:\n\n``./panterm.sh \u003cscript\u003e -h``\n\n#### Review script\nPulls down a site into a local ddev container and merges PR in for testing. Will disable simplesaml as well as provide a link to login for the entered user.\n\nGeneral usage:\n\n``./panterm.sh review [SITENAME] [PR]``\n\nWhere ``SITENAME`` is the site to test the pr on and ``PR`` is the pull request number in 0-9 format.\n\n#### Update script\nRuns pantheon updates for a selected site.\n\nGeneral usage:\n\n``./panterm.sh update [SITENAME] [ARGUMENTS]``\n\nWhere ``SITENAME`` is the site to update and ``ARGUMENTS`` are the extra arguments to pass.\n\n``ARGUMENTS`` are ``-nc|--no-check`` which will skip all update prompts and update the website.\n\n\n\n## Notes\nIf no ``SITENAME``, ``PR``, or ``ARGUMENTS`` passed then the script will prompt for the values.\n\n## Todo\nIf using the --no-check flag then will need to stop if upstream updates are not successful in applying to dev. Similar for not passing no-check where script shouldn't allow to continue and only option should be to exit.\n\nFor the review script, maybe see if can use an existing cloned down repo from previous review script run to save on space and ddev containers?\n\n\n\n## Bugs\nGets hung up on cloning the files down with sites that have large files. For example 6gb hung up or maybe just need to let it sit for a while?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncar%2Fpanterm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncar%2Fpanterm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncar%2Fpanterm/lists"}