- Next to Debian BTS, check https://bugzilla.redhat.com/buglist.cgi?component=moodle&order=bug_id%20DESC&query_format=advanced

- Follow up to https://lists.debian.org/debian-devel/2014/11/msg00063.html
  ( i.e.
   Cc: Debian Moodle Package Maintainers <pkg-moodle-maintainers@lists.alioth.debian.org>
   Subject: moodle_2.7.2-2_all.deb (was: Re: [moodle-packaging] experimental moodle .deb available, problem with gbp import-orig)
   From: Joost van Baal-Ilić
   Date: Mon, 3 Nov 2014 16:34:08 +0100
   Message-id: <20141103153408.GH12497@dijkstra.uvt.nl>
  )

- contact upstream about how to help each other.

- test / revamp / document git @ alioth.

- List archive at http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-moodle-maintainers
  could better be public?

- Revamp README.Debian.

----------------


moodle security release schedule
================================

        may      2017 : eol
2.7.20: Apr  10, 2017 ?
2.7.19: Mar  13, 2017 ?
2.7.18: Jan   9, 2017 ?
2.7.17: Nov  14, 2016 ?
2.7.16: Sept 12, 2016 ?

2.7.15: Jul  11, 2016
2.7.14: May   9, 2016
2.7.13: Mar  14, 2016
2.7.12: Jan  11, 2016
2.7.11: Nov   9, 2015
2.7.10: Sept 21, 2015
2.7.9:  July  6, 2015
2.7.8:  May  11, 2015

so: every 2nd monday of each odd month a security release, it seems
( https://download.moodle.org/releases/security/ )



Joost's build tips 'n tricks
============================

New upstream
------------

https://download.moodle.org/releases/security/

open in javascript webbrowser: https://download.moodle.org/download.php/stable27/moodle-2.7.7.tgz

joostvb@dijkstra:~% mv Downloads/moodle-2.7.9.tgz ~/local/src/moodle/

joostvb@nusku:~/lo.../local/src/debian/moodle% tar zxf moodle-2.7.7.tgz
joostvb@nusku:~/lo.../local/src/debian/moodle% mv moodle moodle-2.7.7+dfsg

joostvb@nusku:~/lo...moodle/moodle-2.7.7+dfsg% make -f ~/git/moodle/debian/rules dfsg

joostvb@dijkstra:~/lo.../local/src/debian/moodle% tar Jcf moodle_2.7.12+dfsg.orig.tar.xz moodle-2.7.12+dfsg

joostvb@nusku:~/lo...moodle/moodle-2.7.7+dfsg% cp -a ~/git/moodle/debian .

joostvb@nusku:~/lo...moodle/moodle-2.7.8+dfsg% cp -a ~/git/moodle/debian/changelog debian 

joostvb@nusku:~/lo.../local/src/debian/moodle% diff -dur moodle-2.7.7+dfsg moodle-2.7.8+dfsg | less


joostvb@banach:~/local/src/moodle% fruitbuild-single sid:amd64 . moodle-2.7.17+dfsg ./moodle_2.7.17+dfsg.orig.tar.xz

joostvb@banach:~/local/src/moodle% ls
moodle-2.7.17+dfsg/                                       moodle_2.7.17+dfsg-1.debian.tar.xz
moodle_2.7.17+dfsg-1_20161114T152939z-92e6af5b.buildinfo  moodle_2.7.17+dfsg-1.dsc
moodle_2.7.17+dfsg-1_all.deb                              moodle_2.7.17+dfsg.orig.tar.xz
moodle_2.7.17+dfsg-1_amd64.changes                        moodle-2.7.17.tgz

joostvb@banach:~/local/src/moodle% debsign -kB8FAC2E250475B8CE940A91957930DAB0B86B067 moodle_2.7.17+dfsg-1_amd64.changes


joostvb@nusku:~/lo...moodle/moodle-2.7.7+dfsg% debclean && debuild -us -uc

(sid)joostvb@dijkstra:~/lo...moodle/moodle-2.7.5+dfsg% debclean && debuild    ( -us -uc )

(sid)joostvb@dijkstra:local/src/debian/moodle% dupload --to anonymous-ftp-master ../moodle_2.*dsc

joostvb@dijkstra:~/git/moodle% git log -v . | head -3
commit 0c8b2412f417282aa8d3c1baf5145548e932459d

joostvb@dijkstra:~/git/moodle% git tag -a -m 'uploaded to unstable' debian/2.7.7+dfsg-1  039113658b81a4d7db28c6911dd93c448718a2a0
joostvb@dijkstra:~/git/moodle% git push --tags


Backport to jessie
------------------

edit debian/control :

moodle (2.7.15+dfsg-1~bpo8+1) jessie-backports; urgency=medium

  * Rebuild for jessie-backports.
  * debian/control: change Depends "php, php-mysql | php-pgsql, php-gd,
    php-curl, php-cli" back into "php5, php5-mysql | php5-pgsql, php5-gd,
    php5-curl, php5-cli".

 -- Joost van Baal-Ilić <joostvb+debian@uvt.nl>  Fri, 29 Jul 2016 11:34:20 +0000


detailed:

joostvb@banach:~/local/src/moodle% rm -rf moodle-2.7.17+dfsg
joostvb@banach:~/local/src/moodle% dpkg-source -x moodle_2.7.17+dfsg-1.dsc

joostvb@banach:~/lo...oodle/moodle-2.7.17+dfsg% vi debian/control
joostvb@banach:~/lo...oodle/moodle-2.7.17+dfsg% vi debian/changelog

joostvb@banach:~/local/src/moodle% fruitbuild-single jessie:amd64 . moodle-2.7.17+dfsg ./moodle_2.7.17+dfsg.orig.tar.xz

