Skip to content

Change sorting of environment hooks #7

Closed

Description

@wjwwood

See: #6 (comment)

AC:

  • Environment hooks are executed in sorted order based on their file name first then their full path in the case of ties.

Activity

  1. added
    bug
    on Mar 14, 2015
  2. added
    ready
    on Oct 19, 2015
  3. self-assigned this
    on Oct 19, 2015
  4. dirk-thomas commented on Oct 26, 2015

    @dirk-thomas
    Contributor

    Instead of ordering all environ hooks based on their basename across packages on Windows I will update the Linux behavior to source the environment of each package in topological order of the packages.

    If we invoke Python for this the prefix level setup file will be a bit slower. But the result will be the same environment as for an isolated build. We can refactor the ordering into shell / batch code if the performance improvement is worth it.

  5. changed the title [-]Fix sorting of environment hooks on Windows[/-] [+]Change sorting of environment hooks[/+] on Oct 26, 2015
  6. added
    in progress
    and removed
    ready
    on Oct 26, 2015
  7. dirk-thomas commented on Oct 27, 2015

    @dirk-thomas
    Contributor

    Since the overhead for calling Python is only linear in the number of unique parent prefix paths and not with the number of upstream packages I won't implement the ordering in shell code for now.

  8. added
    in review
    and removed
    in progress
    on Oct 27, 2015
  9. removed
    in review
    on Oct 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions