Skip to content

Rename the "shared" to "share" - #112

Open
akritkbehera wants to merge 1 commit into
bitsorg:mainfrom
akritkbehera:rename-shared-arch-to-share
Open

Rename the "shared" to "share"#112
akritkbehera wants to merge 1 commit into
bitsorg:mainfrom
akritkbehera:rename-shared-arch-to-share

Conversation

@akritkbehera

Copy link
Copy Markdown
Collaborator

Does it as it says. No functional changes.

SHARED_ARCH is the value substituted for the real build architecture in
every path component of an architecture-independent package: install dir,
tarball name, TARS store, SPECS dir and $PKGPATH. Rename it to "share" and
propagate the new spelling through the paths, docstrings and warnings that
spelled it out literally.

generate_initdotsh() embedded the literal directory name for shared deps
rather than the runtime arch prefix; it now interpolates SHARED_ARCH so the
constant stays the single source of truth.

test_reconstruct_layout built its expected tarball name and store-relative
symlink target from a hardcoded "shared" while taking the directory from
SHARED_ARCH, so it broke on the rename. It now derives all three from the
constant.
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.

1 participant