Skip to content

refactor(reconciler): use fork to execute regsync#1428

Merged
csirmazbendeguz merged 1 commit into
mainfrom
refactor/regsync
Apr 29, 2026
Merged

refactor(reconciler): use fork to execute regsync#1428
csirmazbendeguz merged 1 commit into
mainfrom
refactor/regsync

Conversation

@csirmazbendeguz
Copy link
Copy Markdown
Contributor

@csirmazbendeguz csirmazbendeguz commented Apr 29, 2026

adding my fork of regclient: https://github.com/csirmazbendeguz/regclient , so we can remove the regsync binary and use regsync like a Go library instead

we should find a way to contribute this to regclient so we can remove my fork in the future. adding this so it's done for the release

@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Apr 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedApr 29, 2026, 12:46 PM

@csirmazbendeguz csirmazbendeguz force-pushed the refactor/regsync branch 3 times, most recently from a5a3382 to 275d049 Compare April 29, 2026 08:56
@csirmazbendeguz csirmazbendeguz marked this pull request as ready for review April 29, 2026 08:56
@csirmazbendeguz csirmazbendeguz requested a review from a team as a code owner April 29, 2026 08:56
@csirmazbendeguz csirmazbendeguz force-pushed the refactor/regsync branch 2 times, most recently from 01bda6f to 9fc785e Compare April 29, 2026 09:12
Comment thread reconciler/tasks/regsync/worker.go
@csirmazbendeguz csirmazbendeguz force-pushed the refactor/regsync branch 2 times, most recently from 1a58e8f to b02492a Compare April 29, 2026 10:56
@ramizpolic
Copy link
Copy Markdown
Member

ramizpolic commented Apr 29, 2026

@csirmazbendeguz there are places in the code that are still downloading (taskfile, bake, etc) and using regsync. can we remove those as well?

@csirmazbendeguz
Copy link
Copy Markdown
Contributor Author

@csirmazbendeguz there are places in the code that are still downloading and using regsync. can we remove those as well?

yes of course, gotta remove it from the Dockerfile

@github-actions github-actions Bot added size/S Denotes a PR that changes 50-199 lines and removed size/XS Denotes a PR that changes 0-49 lines labels Apr 29, 2026
Comment on lines 16 to 17
// DefaultConfigPath is the default path for the regsync configuration file.
DefaultConfigPath = "/etc/regsync/regsync.yaml"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

do we use this anywhere?

Copy link
Copy Markdown
Contributor Author

@csirmazbendeguz csirmazbendeguz Apr 29, 2026

Choose a reason for hiding this comment

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

I think this may be leftover from development... it's not used anywhere (not even in main). If you agree, we can address this in a different PR, I feel like it's out of scope for this one

Comment thread docker-bake.hcl
variable "IMAGE_TAG" { default = "v0.1.0-rc" }
variable "BUILD_LDFLAGS" { default = "-s -w -extldflags -static" }
variable "IMAGE_NAME_SUFFIX" { default = "" }
variable "REGSYNC_VERSION" { default = "v0.11.1" }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i think there are other places in the code (Taskfile) defining this as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed it

@csirmazbendeguz csirmazbendeguz force-pushed the refactor/regsync branch 2 times, most recently from 8f6b4af to 24bd917 Compare April 29, 2026 12:36
Signed-off-by: Bendegúz Csirmaz <csirmazbendeguz@gmail.com>
@csirmazbendeguz csirmazbendeguz merged commit f248254 into main Apr 29, 2026
34 checks passed
@csirmazbendeguz csirmazbendeguz deleted the refactor/regsync branch April 29, 2026 13:13
keraron pushed a commit to keraron/dir that referenced this pull request May 5, 2026
Signed-off-by: Bendegúz Csirmaz <csirmazbendeguz@gmail.com>
Signed-off-by: Aron Kerekes <arkereke@cisco.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 50-199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants