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

Show banner again by default #429

Merged
merged 1 commit into from
May 1, 2020
Merged

Conversation

fingolfin
Copy link
Member

... unless we are being loaded from Oscar (code for that taken from
Singular.jl); can (still) be overridden with the GAP_SHOW_BANNER
environment variable.

This is based on the recent PI decision on banners.

Note that this simply shows the default GAP banner, e.g.:

julia> using GAP
 ┌───────┐   GAP 4.11.0 of 29-Feb-2020
 │  GAP  │   https://www.gap-system.org
 └───────┘   Architecture: x86_64-apple-darwin18.7.0-julia64-kv7-v1.4
 Configuration:  gmp 6.1.2, Julia GC, Julia 1.4.1, readline
 Loading the library and packages ...
 Packages:   GAPDoc 1.6.3, PrimGrp 3.4.0, SmallGrp 1.4.1, TransGrp 2.0.5
 Try '??help' for help. See also '?copyright', '?cite' and '?authors'

I could change it to a custom banner, of course (discussion on that is ongoing between the PIs)

@codecov
Copy link

codecov bot commented Apr 29, 2020

Codecov Report

Merging #429 into master will decrease coverage by 0.03%.
The diff coverage is 41.66%.

@@            Coverage Diff             @@
##           master     #429      +/-   ##
==========================================
- Coverage   73.47%   73.43%   -0.04%     
==========================================
  Files          63       63              
  Lines        5055     5060       +5     
==========================================
+ Hits         3714     3716       +2     
- Misses       1341     1344       +3     
Impacted Files Coverage Δ
src/GAP.jl 81.35% <41.66%> (-3.83%) ⬇️

Copy link
Contributor

@fieker fieker left a comment

Choose a reason for hiding this comment

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

looks good to me, inline with the other corners

@mohamed-barakat
Copy link
Contributor

I also would prefer to see the banner. I am also thinking of a banner for HomalgProject which acknowledges the used computer algebra systems but does not show their versions to avoid in example files. But in an interactive session, it is nice if people see the components.

Copy link
Member

@ThomasBreuer ThomasBreuer left a comment

Choose a reason for hiding this comment

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

gap_module is a local variable in __init__,
perhaps use it as an argument of run_it in order to use it inside this function.

My personal preference is not to show banners, but if there is an agreement that every cornerstone shall show a banner then I do not object.
(Wasn't there a convention for Julia packages to not show banners, see #334?)

@fingolfin
Copy link
Member Author

@ThomasBreuer regarding Banners, see oscar-system/Oscar.jl#92

... unless we are being loaded from Oscar (code for that taken from
Singular.jl); can (still) be overridden with the `GAP_SHOW_BANNER`
environment variable.
@fingolfin
Copy link
Member Author

@ThomasBreuer fixed the gap_module issue

@fieker
Copy link
Contributor

fieker commented Apr 30, 2020 via email

@fingolfin fingolfin merged commit c9f60db into oscar-system:master May 1, 2020
@fingolfin fingolfin deleted the mh/banner branch May 1, 2020 00:34
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.

4 participants