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

suppress the GAP banner when importing GAP.jl #342

Merged
merged 2 commits into from
Mar 11, 2020

Conversation

ThomasBreuer
Copy link
Member

This pull request addresses issue #334.

  • By default, using GAP will not show the banner.
  • If Julia's ENV[ "GAP_SHOW_BANNER" ] is set to "true" then
    the GAP banner is shown on using GAP.
  • When the user loads GAP packages, it depends on the LoadPackage call
    whether a package banner is shown.
    This is the standard GAP behaviour in the situation that banners are
    in principle enabled:
    If there is a second argument false then the banner is not shown,
    otherwise it is shown.

(The idea is to set the command line option -b when GAP shall be started
without banner, and to reset this option after the start of GAP.)

I think we should wait until issue #333 gets resolved
before switching off the GAP banner by default.

@codecov
Copy link

codecov bot commented Feb 13, 2020

Codecov Report

Merging #342 into master will decrease coverage by 0.9%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #342      +/-   ##
==========================================
- Coverage   77.82%   76.91%   -0.91%     
==========================================
  Files          59       59              
  Lines        4432     4441       +9     
==========================================
- Hits         3449     3416      -33     
- Misses        983     1025      +42
Impacted Files Coverage Δ
src/GAP.jl 86.44% <100%> (-7.56%) ⬇️
pkg/GAPJulia/JuliaExperimental/julia/gapperm.jl 82.6% <0%> (-6.29%) ⬇️
pkg/GAPJulia/JuliaExperimental/julia/loewy.jl 77.67% <0%> (-6.61%) ⬇️
src/ccalls.jl 95.16% <0%> (-3.23%) ⬇️
src/julia_to_gap.jl 91.42% <0%> (-1.43%) ⬇️
src/packages.jl 90% <0%> (ø) ⬆️

This pull request addresses issue oscar-system#334.

- By default, `using GAP` will not show the banner.
- If Julia's `ENV[ "GAP_SHOW_BANNER" ]` is set to `"true"` then
  the GAP banner is shown on `using GAP`.
- When the user loads GAP packages, it depends on the `LoadPackage` call
  whether a package banner is shown.
  This is the standard GAP behaviour in the situation that banners are
  in principle enabled:
  If there is a second argument `false` then the banner is not shown,
  otherwise it is shown.

(The idea is to set the command line option `-b` when GAP shall be started
without banner, and to reset this option after the start of GAP.)

I think we should wait until issue oscar-system#333 gets resolved
before switching off the GAP banner by default.
@ThomasBreuer ThomasBreuer merged commit 4a0d8c7 into oscar-system:master Mar 11, 2020
@ThomasBreuer ThomasBreuer deleted the TB_suppress_banner branch March 11, 2020 15:54
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.

Sometimes GAP is started multiple times from Julia
1 participant