Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a4f252a0
Commit
a4f252a0
authored
Mar 25, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugs-aware post-commit trigger
cleanup (VERSION variable)
parent
b0c31baf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
BitKeeper/triggers/post-commit
BitKeeper/triggers/post-commit
+16
-9
No files found.
BitKeeper/triggers/post-commit
View file @
a4f252a0
#!/bin/sh
#shift
TO
=
dev-public@mysql.com
FROM
=
$USER
@mysql.com
INTERNALS
=
internals@lists.mysql.com
DOCS
=
docs-commit@mysql.com
LIMIT
=
10000
VERSION
=
"4.0"
if
[
"
$REAL_EMAIL
"
=
""
]
then
...
...
@@ -20,17 +20,24 @@ if [ "$BK_STATUS" = OK ]
then
CHANGESET
=
`
bk
-R
prs
-r
+
-h
-d
':P:::I:'
ChangeSet
`
BUG
=
`
bk
-R
prs
-r
+
-h
-d
':C:'
ChangeSet |
sed
-ne
's/^.*[Bb][Uu][Gg] *# *\([0-9][0-9]*\).*$/ BUG#\1/p'
`
if
[
"
$BUG
"
=
""
]
then
TO
=
dev-public@mysql.com
else
TO
=
dev-bugs@mysql.com
fi
#++
# dev-public@
# dev-public@
/ dev-bugs@
#--
echo
"Commit successful, notifying developers at
$TO
"
(
cat
<<
EOF
List-ID: <bk.mysql-
4.0
>
List-ID: <bk.mysql-
$VERSION
>
From:
$FROM
To:
$TO
Subject: bk commit -
4.0 tree (
$CHANGESET
)
Subject: bk commit -
$VERSION
tree (
$CHANGESET
)
$BUG
EOF
bk changes
-v
-r
+
...
...
@@ -43,13 +50,13 @@ EOF
echo
"Notifying internals list at
$INTERNALS
"
(
cat
<<
EOF
List-ID: <bk.mysql-
4.0
>
List-ID: <bk.mysql-
$VERSION
>
From:
$FROM
To:
$INTERNALS
Subject: bk commit into
4.0
tree (
$CHANGESET
)
Subject: bk commit into
$VERSION
tree (
$CHANGESET
)
Below is the list of changes that have just been committed into a local
4.0
repository of
$USER
. When
$USER
does a push these changes will
$VERSION
repository of
$USER
. When
$USER
does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
...
...
@@ -70,10 +77,10 @@ EOF
echo
"Notifying docs list at
$DOCS
"
(
cat
<<
EOF
List-ID: <bk.mysql-
4.0
>
List-ID: <bk.mysql-
$VERSION
>
From:
$FROM
To:
$DOCS
Subject: bk commit -
4.0
tree (Manual) (
$CHANGESET
)
Subject: bk commit -
$VERSION
tree (Manual) (
$CHANGESET
)
EOF
bk changes
-v
-r
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment