Navigation Menu

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

Source tarball: apply executable file permissions to shell scripts (fixes #10917) #11858

Merged
merged 4 commits into from Aug 31, 2021

Conversation

eolivelli
Copy link
Contributor

The source tarball cannot be built because some .sh files are missing executable file permissions, see #10917

Modifications:

  • copy the Source Assembly descriptor from the main Maven ASF repo to src
  • add exclusions for "data" and "logs"
  • set 755 permissions on every .sh file in "src"

Tests:
the build of the docker images and the C client uses the src tarball, so there is minimal test coverage.
Apart from this the only way to test this patch is to try to build Pulsar from the generated source tarball

@eolivelli eolivelli self-assigned this Aug 31, 2021
@eolivelli eolivelli added this to the 2.9.0 milestone Aug 31, 2021
@eolivelli
Copy link
Contributor Author

according to @MMirelli comment on the VOTE thread for 2.8.1rc0 I have to set permissions on other files

@eolivelli
Copy link
Contributor Author

I have updated my patch, testing it locally now

@hangc0276 hangc0276 merged commit a5fc929 into apache:master Aug 31, 2021
hangc0276 pushed a commit that referenced this pull request Aug 31, 2021
…ixes #10917)  (#11858)

The source tarball cannot be built because some .sh files are missing executable file permissions, see #10917

### Modifications:

copy the Source Assembly descriptor from the main Maven ASF repo to src
add exclusions for "data" and "logs"
set 755 permissions on every .sh file in "src"
Tests:
the build of the docker images and the C client uses the src tarball, so there is minimal test coverage.
Apart from this the only way to test this patch is to try to build Pulsar from the generated source tarball

* Source tarball: apply executable file permissions to shell scripts

* Fix license header

* add more .sh files

* Fix docker build

Co-authored-by: Enrico Olivelli <eolivelli@apache.org>
(cherry picked from commit a5fc929)
@hangc0276 hangc0276 added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Aug 31, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
…ixes apache#10917)  (apache#11858)

The source tarball cannot be built because some .sh files are missing executable file permissions, see apache#10917

### Modifications:

copy the Source Assembly descriptor from the main Maven ASF repo to src
add exclusions for "data" and "logs"
set 755 permissions on every .sh file in "src"
Tests:
the build of the docker images and the C client uses the src tarball, so there is minimal test coverage.
Apart from this the only way to test this patch is to try to build Pulsar from the generated source tarball

* Source tarball: apply executable file permissions to shell scripts

* Fix license header

* add more .sh files

* Fix docker build

Co-authored-by: Enrico Olivelli <eolivelli@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants