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

Bootstrap #4

Merged
merged 15 commits into from
Mar 1, 2013
Merged

Bootstrap #4

merged 15 commits into from
Mar 1, 2013

Conversation

stdweird
Copy link

had not enough time to actually provide code for the TODOs, but take a look at pkg_resource.require, it should replace most of the find_egg/regexp code
i also found a typo in an EB env var

# figure out EasyBuild version
# NOTE: we can't rely on importing VERSION, because other EasyBuild installations may be in sys.path
# TODO checking the output is not a garantee for anything (eg imagine the latest eb is already on your system, just not as module)
Copy link
Owner

Choose a reason for hiding this comment

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

actually, with the sys.path magic below, we are sure we're checking the just installed EasyBuild version

Only, this check needs to be done below the sys.path stuff, and then also doesn't have to rely on os.system anymore...

boegel added a commit that referenced this pull request Mar 1, 2013
@boegel boegel merged commit f37505a into boegel:bootstrap Mar 1, 2013
@@ -52,7 +52,8 @@ def det_lib_path():

def find_egg_dir_for(path, pkg):
"""Find full path of egg dir for given package."""

# TODO check pkg_resource.require and see if it can replace this function
# TODO pkg_resource.require will also adjust the sys.path properly
Copy link
Owner

Choose a reason for hiding this comment

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

No, because then we loose control over the path where the package is found.
We know where the package that we want to use is, and we want/need to use that specific installation, not another one.

boegel pushed a commit that referenced this pull request Apr 18, 2013
boegel pushed a commit that referenced this pull request Sep 2, 2013
…ma_specially

602 handle lists indicated with comma specially
boegel pushed a commit that referenced this pull request Jul 7, 2014
clean up support for --filter-deps + add unit tests
boegel pushed a commit that referenced this pull request Feb 12, 2015
make sure Lmod is used as modules tool when generating module files in Lua syntax
boegel pushed a commit that referenced this pull request Jun 4, 2015
…n code by Marc Litherland)

Update easyblock.py

Bug fixes round #1

bugfixing round #2

Bugfixes round #3

Bugfixes round #4

Bugfixes #5. Rewritten map() as list comprehension. Still not available as an optional parameter
boegel pushed a commit that referenced this pull request Jun 9, 2015
make unit test suite pass, rename JobServer to JobBackend, fix default for --job-bakcend
boegel pushed a commit that referenced this pull request Jun 18, 2015
boegel pushed a commit that referenced this pull request Jul 7, 2015
boegel pushed a commit that referenced this pull request Aug 5, 2015
boegel pushed a commit that referenced this pull request Dec 2, 2015
use None as default value for whatis + minor style fixes
boegel pushed a commit that referenced this pull request Nov 6, 2016
boegel pushed a commit that referenced this pull request Mar 17, 2017
rename parse_raw_path_* methods to interpret_raw_path_*, add dedicated tests for them + fix some bugs
boegel pushed a commit that referenced this pull request Aug 21, 2017
cleanup & tests for find_backup_name_candidate & move_file
boegel pushed a commit that referenced this pull request Jan 5, 2018
disable testing of bootstrap script when Modules v4 is used as modules tool
boegel pushed a commit that referenced this pull request Apr 2, 2018
use DEFAULT_OPT_LEVEL constant + fix minor style issues
boegel pushed a commit that referenced this pull request Apr 19, 2018
style fixes to make Hound CI happy
boegel pushed a commit that referenced this pull request Nov 22, 2018
ensure ordered output in message printed by --list-prs, drop unused GITHUB_MAX_PER_PAGE from _postprocess_list_prs
boegel pushed a commit that referenced this pull request Aug 10, 2019
boegel pushed a commit that referenced this pull request Apr 9, 2020
boegel pushed a commit that referenced this pull request Nov 30, 2020
boegel pushed a commit that referenced this pull request Sep 12, 2021
add configuration option to allow disabling progress bar
boegel pushed a commit that referenced this pull request Sep 30, 2021
tweak GPU part of output produced by --show-system-info
boegel pushed a commit that referenced this pull request May 22, 2024
move `CWD_NOTFOUND_ERROR` constant to `tools.build_log`
boegel pushed a commit that referenced this pull request Jun 5, 2024
fix handling of specified command environment in `create_cmd_scripts` + add test for env option in `run_shell_cmd`
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.

2 participants