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

[RFE] CI test is to run against the server installed under <prefix> #2142

Closed
389-ds-bot opened this issue Sep 13, 2020 · 4 comments
Closed
Labels
closed: fixed Migration flag - Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49083


On 01/07/2017 06:16 PM, William Brown wrote:

Okay, so it depends on where you installed your built code to.

If you did "./configure --prefix=/path/to/install, it won't work
because we now don't use PREFIX to find and work out the paths.

The code that caused this is in lib389 with the paths module and
defaults.inf. See _get_defaults_loc in lib389/lib389/paths.py .

The reason for the change was that PREFIX was hugely broken. It either
worked from RPM, or it worked with make install: not never both. This
was due to heaps of assumptions being made by us during coding.

So the solution I think is to make it so that if you want a prefixed
install like you have here, we make _get_defaults_loc check for PREFIX,
and if it exists, appends /share/dirsrv/inf/defaults.inf, and
from there, it should all work.

If you want, raise a bug about this and I'll fix it next week first
thing when I'm back at work.

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 13, 2020
@389-ds-bot 389-ds-bot added this to the CI test 1.0 milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

@389-ds-bot
Copy link
Author

Comment from nhosoi (@nhosoi) at 2017-01-10 01:26:39

Thank you, William! It works for me.

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2017-01-10 05:06:08

commit f624aeb13634ac1bd68dce9554cbcebc20dbb6fc
Writing objects: 100% (13/13), 3.07 KiB | 0 bytes/s, done.
Total 13 (delta 11), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/lib389.git
5c9e2c9..0c7974f master -> master

@389-ds-bot
Copy link
Author

Comment from nhosoi (@nhosoi) at 2017-02-11 23:08:41

Metadata Update from @nhosoi:

  • Issue assigned to Firstyear
  • Issue set to the milestone: CI test 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant