mirror of
https://github.com/therealpaulgg/ssh-sync-server.git
synced 2026-04-25 07:35:49 +03:00
[PR #29] [WIP] Conflict resolution - Add change history for ssh keys #32
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ssh-sync-server#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/therealpaulgg/ssh-sync-server/pull/29
Author: @Copilot
Created: 5/22/2025
Status: 🔄 Open
Base:
main← Head:copilot/fix-21📝 Commits (7)
6c541b7Initial plan for issueb3861c1Initial plan for implementing SSH key change history705b249Implement SSH key change history tracking769647dUpdate setup to register SshKeyChangeRepository and add documentationfa17445Add instructions for updating ssh-sync-db repository5f07f76Fix test infrastructure for SSH key change history implementationf8c56b9Implement comprehensive tests for SSH key change history📊 Changes
18 files changed (+1333 additions, -14 deletions)
View changed files
➕
docs/db_repository_update.md(+49 -0)➕
docs/sql/ssh_key_changes.sql(+25 -0)➕
docs/ssh_key_change_history.md(+36 -0)📝
go.mod(+2 -1)📝
internal/setup/main.go(+11 -1)➕
pkg/database/models/ssh_key_change.go(+31 -0)➕
pkg/database/query/transaction_mock.go(+36 -0)➖
pkg/database/repository/machine_test.go(+0 -3)➖
pkg/database/repository/ssh_config_test.go(+0 -3)📝
pkg/database/repository/ssh_key.go(+169 -0)➕
pkg/database/repository/ssh_key_change.go(+112 -0)➕
pkg/database/repository/ssh_key_change_mock.go(+68 -0)➕
pkg/database/repository/ssh_key_change_test.go(+301 -0)📝
pkg/database/repository/ssh_key_test.go(+436 -1)📝
pkg/database/repository/user.go(+29 -1)➖
pkg/database/repository/user_test.go(+0 -3)📝
test/pgx/mock.go(+1 -1)➕
test/pgx/mock_database.go(+27 -0)📄 Description
Fixes #21.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.