Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
927f0c3a
Commit
927f0c3a
authored
Jul 23, 2013
by
rojanu
Committed by
Frédéric Buclin
Jul 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 871473: New code hook "before_read" in Migrate.pm
r=LpSolit a=sgreen
parent
45286021
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Migrate.pm
Bugzilla/Migrate.pm
+7
-0
No files found.
Bugzilla/Migrate.pm
View file @
927f0c3a
...
...
@@ -153,6 +153,7 @@ sub do_migration {
}
$dbh
->
bz_start_transaction
();
$self
->
before_read
();
# Read Other Database
my
$users
=
$self
->
users
;
my
$products
=
$self
->
products
;
...
...
@@ -544,6 +545,7 @@ sub write_config {
sub
after_insert
{}
sub
before_insert
{}
sub
after_read
{}
sub
before_read
{}
#############
# Inserters #
...
...
@@ -1147,6 +1149,11 @@ and yet shouldn't be added to the initial description of the bug when
translating bugs, then they should be listed here. See L</translate_bug> for
more detail.
=head2 before_read
This is called before any data is read from the "other bug-tracker".
The default implementation does nothing.
=head2 after_read
This is run after all data is read from the other bug-tracker, but
...
...
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