Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Porting from Debian 11 (bullseye)

...

Done, you’ve downloaded and unpack original Debian 11 sources. Now you can compare the code and debian’s files with ours from DU4 sources or port them as described above.

Some notes and hints

Do not mix deb-src between DU4 and bullseye in one /etc/apt/sources.list! It will confuse apt when it shall download the sources.

Patching

Install quilt:

sudo apt install quilt

...

Open corresponded ticket and move it to status Assigned (see DilOS 4 Development Workflow (English) ):

...

Move your Jira ticket into state “IN ANALYSYS“.

Create branch for the component (ticket name - component name):

...

Now you start porting process, so move your Jira ticket into “In Progress“ state selecting “Create fix” menu item.

After all necessary updating the debian/files into DilOS commit the changes:

...

In your browser go to https://bitbucket.org/dilos/du4/branches.

...

Push “Create” link in the “Pull request” column for your branch.

...

Check the “Delete branch“ checkbox.

Push “Create pull request“ button.

...

Add reviewers.

Integration (outers: without access to build server)

After getting successful build and generating source packages:

sudo dpkg-buildpackage -d -S -us -uc -sa

Copy them result sources to your Jenkins home (i’ve created and use downloads dir)integrator:

scp zabbix_6.0.7+dfsg* username@10alvano@10.20.50.29:downloads.182:integration

Password would be sent from integrator privately.

Integration (internals: with personal zone on build server)

Go to Jenkins VM:
ssh username@10.20.50.29

Go to Jenkins home (/ws/jenkins) and create upload dir using ticket name:

cd ../jenkins

mkdir D4-188

cd D4-188

And move copy sources from your VM into this dir:

mv downloads/* ../jenkins/D4-188scp alvano@10.20.50.182:work/build/zabbix_6.0.7+dfsg* .

Open browser and login to Jenkins (http://10.20.60.190:8080/ci):

...

Select your upload menu item (in my case “upload-src-dev1“), select “Build with Parameters“ and put your dir name into “COMPONENT_NAME“ edit box:

...

Click “Build“ button.