Skip to content

Use officiel pg_back repository#17

Merged
stephane-klein merged 1 commit intomainfrom
itsalex-use-upstream-pg-back
Jun 27, 2025
Merged

Use officiel pg_back repository#17
stephane-klein merged 1 commit intomainfrom
itsalex-use-upstream-pg-back

Conversation

@Its-Alex
Copy link
Copy Markdown
Collaborator

@Its-Alex Its-Alex commented Jun 27, 2025

Now that orgrim/pg_back#147 (comment) has been merged, the pg_back fork used in the repository is no longer relevant.

The purpose of this merge request is to replace the fork with the upstream version.

@Its-Alex Its-Alex force-pushed the itsalex-use-upstream-pg-back branch from 20d5f45 to d899333 Compare June 27, 2025 13:26
@Its-Alex Its-Alex requested a review from Copilot June 27, 2025 13:26

This comment was marked as outdated.

@stephane-klein
Copy link
Copy Markdown
Owner

@Its-Alex For now, I've only taken a quick look. It looks good to me.

Let me know as soon as you've tested it and finished.

@Its-Alex Its-Alex force-pushed the itsalex-use-upstream-pg-back branch from d899333 to 5692f51 Compare June 27, 2025 13:32
@Its-Alex Its-Alex requested a review from Copilot June 27, 2025 13:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Replaces the custom pg_back fork with the official upstream repository and updates all Docker image tags, CI workflows, and configuration keys to reflect the change.

  • Switch Docker build/run instructions and CI workflows to use stephaneklein/pg_back-docker-sidecar (no :sklein-fork suffix) and tag images by upstream commit
  • Modify Dockerfile to clone and build from the official pg_back repo at a specific commit
  • Rename the config template key uniform_snapshot_timestamp to uniform_timestamp and update related docs

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/README.md Removed :sklein-fork suffix from Docker commands
scripts/docker-push.sh Pushing :latest instead of :sklein-fork
pg_back.conf.tmpl Renamed uniform_snapshot_timestamp to uniform_timestamp
docker-compose.yml Updated service images to use the new sidecar tag
README.md Updated production example to refer to the official sidecar image
Dockerfile Cloning/updating to upstream pg_back at a specific commit
.github/workflows/docker-test.yml Adjusted docker_tag suffix to include pg_back commit identifier
.github/workflows/docker-publish.yml Same tag update as in test workflow
Comments suppressed due to low confidence (2)

pg_back.conf.tmpl:50

  • Renaming the configuration key uniform_snapshot_timestamp to uniform_timestamp may break existing user configurations. Consider adding a deprecation note or updating documentation to highlight this change and guide users to the new key.
uniform_timestamp = true

.github/workflows/docker-test.yml:22

  • [nitpick] The tag suffix pg_back5375ec2 may be unclear without a separator. Consider using a hyphen (e.g., -pg_back-5375ec2) or adopting semantic versioning for better readability.
          echo "docker_tag=${DATETIME}-${SHORT_SHA}-pg_back5375ec2" >> $GITHUB_OUTPUT

Comment thread Dockerfile
@Its-Alex
Copy link
Copy Markdown
Collaborator Author

@Its-Alex For now, I've only taken a quick look. It looks good to me.

Let me know as soon as you've tested it and finished.

I've made all the tests locally, it's working 👍

@Its-Alex Its-Alex requested a review from stephane-klein June 27, 2025 13:40
Comment thread pg_back.conf.tmpl
uniform_snapshot_timestamp = true
# Apply the same consistent timestamp to all filenames generated
# by pg_back instead of using individual file creation times
uniform_timestamp = true
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Its-Alex 👍

@stephane-klein stephane-klein merged commit ad2f31a into main Jun 27, 2025
1 check passed
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