Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds packaging images release name support into citus package #177

Merged
merged 16 commits into from
Sep 30, 2021

Conversation

gurkanindibay
Copy link
Contributor

@gurkanindibay gurkanindibay commented Sep 6, 2021

Packaging images creation release names are different than standard release names. Packaging images release names are seperated by comma but our general release names are seperated by '/'. Some release names are totally different as well like redhat and oracle.
In this PR, I added a map to support the ones seperated with comma
This PR is related with the one below
citusdata/packaging#745

Additionally, there was problems in pgxn and ol/8 tests.I fixed these problems in this PR as well

Copy link
Member

@hanefi hanefi left a comment

Choose a reason for hiding this comment

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

What do you think about using only / characters and stop using , to separate OS name and release identifiers? Do you think it would be easier to handle?

packaging_automation/citus_package.py Show resolved Hide resolved
Comment on lines 53 to 55
# def teardown_module():
# if os.path.exists("packaging_test"):
# run("rm -r packaging_test")
Copy link
Member

Choose a reason for hiding this comment

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

I do not like these commented out lines

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My misatake. Uncommented lines

packaging_automation/citus_package.py Outdated Show resolved Hide resolved
@gurkanindibay
Copy link
Contributor Author

What do you think about using only / characters and stop using , to separate OS name and release identifiers? Do you think it would be easier to handle?

there are lots of place to change and it is risky and will take too much time. I need to finish conversion ASAP

Copy link
Member

@hanefi hanefi left a comment

Choose a reason for hiding this comment

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

I am not totally comfortable with adding yet another argument to this cli tool. The arguments are not documented well and it is not so easy to understand their purposes without digging deeper into the codebase. I have a hard time creating packages on my local machine now, and it appears that it will be even harder than before.

I hope that we can make these tools more user friendly in the future.

@gurkanindibay gurkanindibay merged commit b42a879 into develop Sep 30, 2021
@gurkanindibay gurkanindibay deleted the develop_tests branch September 30, 2021 10:27
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.

2 participants