Overview#

Name

aopalliance

slf4j

apache-commons-lo gging

apache-ivy

velocity

gradle

google-guice

maven-javadoc -plugin

javacc-mave n-plugin

glassfish-fasti nfoset

apache-comm ons-lang

apache-mime4j

jakarta-commons-httpclien t

jackson

ant

junit

javassist

g lassfish-jaxb

apache- commons-io

httpcomponents- client

jettison

apache-commons- daemon

xalan-j2

maven-assembly- plugin

snakeyaml

javamail

xmvn

maven -jar-plugin

jvnet-parent

nss

resteasy

tomcat

jss

tomcatjss

nuxwdog

ldapjdk

pki-core

pki-console

dogtag-pki

dogta g-pki-theme

freeipa

Listing Packages#

To list available packages:

$ dnf list

Getting Package Source#

To clone a package repository:

$ git clone ssh://<username>@pkgs.fedoraproject.org/pki-core
$ cd pki-core
$ git checkout f28

Creating Patches#

Creating patches in main source repository#

Checkout a branch:

$ cd MAIN_SRC_DIR
$ git checkout -b DOGTAG_10_3_BRANCH origin/DOGTAG_10_3_BRANCH

Make code changes, then create a new patch:

$ git commit -a -m "Some changes."
$ git format-patch -M -C --patience --full-index -1
$ mv <patch filename> ..

Creating patches in package source repository#

Prepare a source repository that includes the current patches:

$ cd PKG_SRC_DIR
$ fedpkg prep
$ mv pki-core-10.3.0 orig
$ cd orig
$ git init .
$ git add *
$ git commit -a -m "Initial import."

Make code changes, then create a new patch:

$ git commit -a -m "Some changes."
$ git format-patch -M -C --patience --full-index -1
$ mv <patch filename> ..

Adding Patches#

To include a patch in the spec file:

Patch<N>:           <patch filename>
...

%prep

...
%patch<N> -p1

Continuous Integration#

See https://fedoraproject.org/wiki/CI.

BuildRoot Overrides#

If a dependency is not published yet, it needs to be added into BuildRoot Overrides.

To check buildroot overrides via CLI:

$ bodhi overrides query

To check the latest builds:

$ koji latest-build f28-build tomcat

To create BuildRoot override:

$ bodhi overrides save tomcat-8.5.29-1.fc28
$ koji wait-repo f28-build --build=tomcat-8.5.29-1.fc28

Development#

See Also#