Skip to content

ARROW-569: [C++] Set version for *.pc#344

Closed
kou wants to merge 1 commit intoapache:masterfrom
kou:arrow-569-c++-set-version-for-pc
Closed

ARROW-569: [C++] Set version for *.pc#344
kou wants to merge 1 commit intoapache:masterfrom
kou:arrow-569-c++-set-version-for-pc

Conversation

@kou
Copy link
Member

@kou kou commented Feb 19, 2017

*.pc.in such as cpp/build/arrow.pc.in refers ARROW_VERSION but it isn't
defined.

Copy link
Member

Choose a reason for hiding this comment

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

I would prefer if we could read them from some generated location. In Python we use at the moment git describe and as a fallback the Java pom.xml to determine the version number as those two get automatically updated on a release.

Copy link
Member

Choose a reason for hiding this comment

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

As an alternative, we could add a .arrowversion file to the root of the repository that is updated with the release scripts. We do this in the release scripts of parquet-cpp. The main problem in Arrow is that we use the Maven release plugin and we haven't yet found a hook to write out the version string in the correct commit in a non-xml file.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've changed the code to get version from java/pom.xml.

*.pc.in such as cpp/build/arrow.pc.in refers ARROW_VERSION but it isn't
defined.
@kou kou force-pushed the arrow-569-c++-set-version-for-pc branch from f44cff1 to 48b366b Compare February 21, 2017 12:26
Copy link
Member

@xhochy xhochy left a comment

Choose a reason for hiding this comment

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

+1, LGTM.

Will merge although integration tests failed, this is handled in #346

@asfgit asfgit closed this in 5e279f0 Feb 21, 2017
@kou kou deleted the arrow-569-c++-set-version-for-pc branch February 21, 2017 14:03
wesm added a commit to wesm/arrow that referenced this pull request Sep 8, 2018
Author: Wes McKinney <wes.mckinney@twosigma.com>

Closes apache#344 from wesm/PARQUET-967 and squashes the following commits:

e059c6e [Wes McKinney] Remove PARQUET_ARROW CMake flag
eb24ce7 [Wes McKinney] Combine libparquet, libparquet_arrow

Change-Id: I4951c91bbe2616e99c023ee18de7b0ba2662b2c2
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