IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Air Shower Physics
corsika
Commits
ac4bd72e
Commit
ac4bd72e
authored
6 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
minor changes of copyright notice
parent
99fea3cf
No related branches found
No related tags found
1 merge request
!12
Different types of processes
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Environment/FlatAtmosphere/FlatAtmosphere.h
+9
-8
9 additions, 8 deletions
Environment/FlatAtmosphere/FlatAtmosphere.h
Main/Environment.h
+9
-8
9 additions, 8 deletions
Main/Environment.h
Main/Stack.h
+9
-8
9 additions, 8 deletions
Main/Stack.h
do-copyright.py
+9
-4
9 additions, 4 deletions
do-copyright.py
with
36 additions
and
28 deletions
Environment/FlatAtmosphere/FlatAtmosphere.h
+
9
−
8
View file @
ac4bd72e
/**
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
This diff is collapsed.
Click to expand it.
Main/Environment.h
+
9
−
8
View file @
ac4bd72e
/**
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
This diff is collapsed.
Click to expand it.
Main/Stack.h
+
9
−
8
View file @
ac4bd72e
/**
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
This diff is collapsed.
Click to expand it.
do-copyright.py
+
9
−
4
View file @
ac4bd72e
...
...
@@ -43,13 +43,18 @@ def checkNote(filename):
iLine
+=
1
# now check if copyright notice is already there and identical...
isSame
=
Tru
e
isSame
=
Fals
e
if
startNote
>=
0
and
endNote
>=
0
and
isCopyright
:
isSame
=
True
noteLines
=
text
.
split
(
'
\n
'
)
for
iLine
in
range
(
len
(
noteLines
)):
if
noteLines
[
iLine
]
!=
lines
[
startNote
+
iLine
]
:
for
iLine
in
range
(
len
(
noteLines
)
-
2
):
if
startNote
+
iLine
>=
len
(
lines
)
:
isSame
=
False
print
"
not same:
"
+
noteLines
[
iLine
]
+
"
"
+
lines
[
startNote
+
iLine
]
break
if
noteLines
[
iLine
+
1
].
strip
(
"
\n
"
)
!=
lines
[
startNote
+
iLine
].
strip
(
"
\n
"
):
isSame
=
False
print
"
not same:
"
+
filename
+
"
new=
\'
"
+
noteLines
[
iLine
+
1
]
+
"
\'
vs old=
\'
"
+
lines
[
startNote
+
iLine
].
rstrip
(
'
\n
'
)
+
"
\'
"
break
# check if notice is the same
if
isSame
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment