Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rarrdap
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CentralNic
rarrdap
Commits
eb561ea1
Unverified
Commit
eb561ea1
authored
Mar 18, 2019
by
Gavin Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 'last update of RDAP database' event
parent
52d0976e
Pipeline
#32
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
rarrdap.pl
rarrdap.pl
+12
-1
No files found.
rarrdap.pl
View file @
eb561ea1
...
...
@@ -3,6 +3,7 @@
# free software; you can redistribute it and/or modify it under the same
# terms as Perl itself.
use
Cwd
;
use
DateTime
;
use
File::
Basename
qw(dirname basename)
;
use
File::
stat
;
use
IO::
File
;
...
...
@@ -125,7 +126,11 @@ foreach my $id (sort({ $a <=> $b } uniq(keys(%{$iana}), keys(%{$internic})))) {
if
(
$internic
->
{
$id
}
->
{'
URL
'})
{
$internic
->
{
$id
}
->
{'
URL
'}
=
'
http://
'
.
$internic
->
{
$id
}
->
{'
URL
'}
if
(
$internic
->
{
$id
}
->
{'
URL
'}
!~
/^https?:\/\//
);
push
(
@
{
$data
->
{'
links
'}},
{
'
rel
'
=>
'
related
',
'
href
'
=>
$internic
->
{
$id
}
->
{'
URL
'}});
push
(
@
{
$data
->
{'
links
'}},
{
'
title
'
=>
"
Registrar's Website
",
'
rel
'
=>
'
related
',
'
href
'
=>
$internic
->
{
$id
}
->
{'
URL
'},
});
}
push
(
@
{
$data
->
{'
remarks
'}},
{
...
...
@@ -144,10 +149,16 @@ foreach my $id (sort({ $a <=> $b } uniq(keys(%{$iana}), keys(%{$internic})))) {
}
];
$data
->
{'
events
'}
=
[
{
'
eventAction
'
=>
'
last update of RDAP database
',
'
eventDate
'
=>
DateTime
->
now
->
iso8601
,
}
];
#
# add some links
#
push
(
@
{
$data
->
{'
links
'}},
{
'
title
'
=>
'
About RDAP
',
'
rel
'
=>
'
related
',
'
href
'
=>
'
https://about.rdap.org
',
});
...
...
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