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

Adopt src code layout #562

Merged
merged 1 commit into from Sep 2, 2021
Merged

Adopt src code layout #562

merged 1 commit into from Sep 2, 2021

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Sep 1, 2021

Fixes: #551

@ssbarnea ssbarnea added the bug Researched, reproducible, committed to fix label Sep 1, 2021
@ssbarnea ssbarnea force-pushed the fix/stuff branch 2 times, most recently from 5248d7f to 403ff35 Compare September 1, 2021 16:24
@ganeshrn
Copy link
Member

ganeshrn commented Sep 2, 2021

/cc @cidrblock Can you please review this PR

tox.ini Outdated Show resolved Hide resolved
@webknjaz webknjaz added the gate label Sep 2, 2021
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

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

LGTM!

@webknjaz webknjaz added the structural Structural changes needed in code base label Sep 2, 2021
@ansible-zuul ansible-zuul bot merged commit 745e3a4 into main Sep 2, 2021
@ansible-zuul ansible-zuul bot deleted the fix/stuff branch September 2, 2021 22:02
@webknjaz
Copy link
Member

webknjaz commented Sep 3, 2021

FTR we probably need to notify the current RPM spec maintainers about the structural changes. OTOH with #557, it should be easier for them to pick up a well-tested upstream spec.

relrod added a commit to relrod/winston that referenced this pull request Sep 17, 2021
Change:
- ansible#562 broke people who run navigator from a clone of the repository
  without installing it somewhere. The search path for the share
  directory starts with looking for it relative to utils.py for exactly
  this scenario. However when the ansible_navigator directory got moved
  a level deeper, this path wasn't updated.

Test Plan:
- Ran ansible-navigator from git clone after pip uninstalling it.

Signed-off-by: Rick Elrod <rick@elrod.me>
relrod added a commit to relrod/winston that referenced this pull request Sep 17, 2021
Change:
- ansible#562 broke people who run navigator from a clone of the repository
  without installing it somewhere. The search path for the share
  directory starts with looking for it relative to utils.py for exactly
  this scenario. However when the ansible_navigator directory got moved
  a level deeper, this path wasn't updated.

Test Plan:
- Ran ansible-navigator from git clone after pip uninstalling it.

Signed-off-by: Rick Elrod <rick@elrod.me>
ansible-zuul bot pushed a commit that referenced this pull request Sep 17, 2021
[utils] Fix share dir when running from repo clone

Change:

#562 broke people who run navigator from a clone of the repository
without installing it somewhere. The search path for the share
directory starts with looking for it relative to utils.py for exactly
this scenario. However when the ansible_navigator directory got moved
a level deeper, this path wasn't updated.

Test Plan:

Ran ansible-navigator from git clone after pip uninstalling it.

Signed-off-by: Rick Elrod rick@elrod.me

Reviewed-by: Sviatoslav Sydorenko <webknjaz+github/profile@redhat.com>
Reviewed-by: None <None>
Spredzy pushed a commit to Spredzy/ansible-navigator that referenced this pull request Oct 6, 2021
Adopt src code layout

Fixes: ansible#551

Reviewed-by: Ganesh Nalawade <None>
Reviewed-by: Sviatoslav Sydorenko <webknjaz+github/profile@redhat.com>
Reviewed-by: Bradley A. Thornton <bthornto@redhat.com>
Reviewed-by: None <None>
(cherry picked from commit 745e3a4)
Spredzy pushed a commit to Spredzy/ansible-navigator that referenced this pull request Oct 6, 2021
[utils] Fix share dir when running from repo clone

Change:

ansible#562 broke people who run navigator from a clone of the repository
without installing it somewhere. The search path for the share
directory starts with looking for it relative to utils.py for exactly
this scenario. However when the ansible_navigator directory got moved
a level deeper, this path wasn't updated.

Test Plan:

Ran ansible-navigator from git clone after pip uninstalling it.

Signed-off-by: Rick Elrod rick@elrod.me

Reviewed-by: Sviatoslav Sydorenko <webknjaz+github/profile@redhat.com>
Reviewed-by: None <None>
(cherry picked from commit 16939d2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Researched, reproducible, committed to fix structural Structural changes needed in code base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to src/-layout
4 participants