Page MenuHomeFreeBSD

New port www/p5-RT-Extension-RepeatTicket
ClosedPublic

Authored by matthew on Mar 30 2019, 2:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 7:53 AM
Unknown Object (File)
Thu, Nov 28, 12:03 AM
Unknown Object (File)
Nov 12 2024, 11:09 PM
Unknown Object (File)
Nov 12 2024, 3:12 PM
Unknown Object (File)
Nov 12 2024, 2:25 PM
Unknown Object (File)
Nov 12 2024, 2:19 PM
Unknown Object (File)
Nov 12 2024, 2:16 PM
Unknown Object (File)
Oct 3 2024, 6:58 PM

Details

Summary

Requesting approval for adding a flavoured port

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

matthew added a reviewer: portmgr.
mat added inline comments.
www/p5-RT-Extension-RepeatTicket/Makefile
19–20 ↗(On Diff #55619)

Lines should be in reverse order, FLAVORS first.

37 ↗(On Diff #55619)

No need for += here.

Thanks very much for creating the port.

This extension normally requires running "make initdb" to create a custom field called Original Ticket. The port currently doesn't provide an easy way to do that, and I'm really not sure how it could do so elegantly. I managed to do so by running "make -n initdb" in the port wrkdir, then doing likewise on our production server where we'd installed the package:

XXXX:/usr/local/share/rt42/plugins/RT-Extension-RepeatTicket# /usr/local/bin/perl -Ilib -I/usr/local/share/rt42/lib -I/usr/local/lib/perl5/site_perl -I. /usr/local/sbin/rt-setup-database --action insert --datadir etc --datafile etc/initialdata --dba root --prompt-for-dba-password  --package RT::Extension::RepeatTicket --ext-version 1.11
In order to create or update your RT database, this script needs to connect to your  mysql instance on localhost (port '') as root
Please specify that user's database password below. If the user has no database
password, just press return.

Password: 
Working with:
Type:   mysql
Host:   localhost
Port:
Name:   XXXX
User:   XXXX
DBA:    root
Now inserting data.
Done inserting data.
Done.

Thanks very much for creating the port.

This extension normally requires running "make initdb" to create a custom field called Original Ticket. The port currently doesn't provide an easy way to do that, and I'm really not sure how it could do so elegantly. I managed to do so by running "make -n initdb" in the port wrkdir, then doing likewise on our production server where we'd installed the package:

I see. If there's any documentation that says that, it would seem to be fairly well hidden. I'll add a pkg-message to warn the users and see if I can include all the necessary files in the package.

Yeah, the requirement is mentioned in the documentation.

https://metacpan.org/pod/RT::Extension::RepeatTicket#make-initdb

Everything one needs is being packaged already; you just need to know exactly how to invoke /usr/local/sbin/rt-setup-database.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 31 2020, 9:40 AM
This revision was automatically updated to reflect the committed changes.