Skip to content

Conversation

@kporras07
Copy link
Contributor

No description provided.

@kporras07 kporras07 requested a review from a team as a code owner December 5, 2024 16:27
@greg-1-anderson greg-1-anderson merged commit 97dbc0b into 3.x Dec 16, 2024
10 checks passed
@greg-1-anderson greg-1-anderson deleted the back-to-dev-3.6.2 branch December 16, 2024 20:31
stovak pushed a commit that referenced this pull request Jan 24, 2025
namespacebrian added a commit that referenced this pull request May 1, 2025
* Back to dev version. (#2652)

* SSH verbose mode to match Terminus (#2663)

* Only add to backups array if element matches. (#2664)

* Add update checking functionality

Initializes and runs the UpdateChecker during application startup,
which notifies users when a new version of Terminus is available.
The update check was already implemented but wasn't being called.

🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>

* Limit update notifications to once per 24 hours

- Added functionality to track when the last update notification was shown
- Stores notification timestamp in ~/.terminus using the DataStore
- Only shows notifications once every 24 hours (86400 seconds)
- Prevents update notification spam during frequent Terminus usage

🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>

* Fix update checker integration with Terminus class

- Add DataStoreAwareInterface and DataStoreAwareTrait to Terminus class
- Initialize data store properly in the constructor
- Fix logger reference to use ->logger instead of getLogger()

* Fix argument passing in UpdateChecker

Remove array wrapper around datastore argument to properly pass a DataStoreInterface instance

* Move update checker storage from tokens_dir to cache_dir

Update notification data should be stored in the general cache directory rather than the tokens directory, which should be reserved for authentication tokens.

* Update command shown.

* Show notification if file not found.

* Fix linter.

---------

Co-authored-by: Kevin Porras <[email protected]>
Co-authored-by: Jordan Schulz <[email protected]>
namespacebrian added a commit that referenced this pull request Jul 28, 2025
* Back to dev version. (#2652)

* SSH verbose mode to match Terminus (#2663)

* Only add to backups array if element matches. (#2664)

* Update installation notes in README.md

Installation notes have not been updated and in the interim, the [docs page](https://docs.pantheon.io/terminus/install#standalone-terminus-phar) has more up-to-date documentation than the readme.

Additionally, there's a link to the docs page for "other installation methods" but there aren't actually any other installation methods on the docs site than what are (or should be) listed here.

---------

Co-authored-by: Kevin Porras <[email protected]>
Co-authored-by: Jordan Schulz <[email protected]>
Co-authored-by: Brian Weaver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants