Author: atomo64-guest Date: 2009-04-18 23:13:16 +0000 (Sat, 18 Apr 2009) New Revision: 1427
Modified: ddpo-by-mail/ddpo-config.rb ddpo-by-mail/reminder-mail.rb Log: Avoid hard-coding the release name and add flags to switch release-related warnings Modified: ddpo-by-mail/ddpo-config.rb =================================================================== --- ddpo-by-mail/ddpo-config.rb 2009-04-17 18:17:01 UTC (rev 1426) +++ ddpo-by-mail/ddpo-config.rb 2009-04-18 23:13:16 UTC (rev 1427) @@ -65,6 +65,10 @@ # etch released on 2007-04-08. So # (Date::today - Date::parse('2007-04-08')).to_i +TESTING = 'squeeze' +FROZEN = false +CLOSE_TO_FREEZE = false + # Release Goals # FIXME missing tags: ipv6 i18n-debconf lfs nfs-v4 goal-enriched-chroot ddtp dep-init ftbfs-gcc RGTAGS = { Modified: ddpo-by-mail/reminder-mail.rb =================================================================== --- ddpo-by-mail/reminder-mail.rb 2009-04-17 18:17:01 UTC (rev 1426) +++ ddpo-by-mail/reminder-mail.rb 2009-04-18 23:13:16 UTC (rev 1427) @@ -214,7 +214,9 @@ elsif iss[0] == :not_testing incptext = true ptext += "= Not in testing for #{iss[2]} days.\n" - ptext += " If things don't change, it won't be part of lenny!\n" + if CLOSE_TO_FREEZE or FROZEN + ptext += " If things don't change, it won't be part of #{TESTING}!\n" + end testingpl = true elsif iss[0] == :no_migration incptext = true @@ -222,11 +224,13 @@ testingpl = true elsif iss[0] == :dehs if dehstext == '' - dehstext = <<-EOF -=== Packages with a new upstream version according to DEHS: -(note that lenny is frozen: do not upload those new upstream + dehstext = "=== Packages with a new upstream version according to DEHS:\n" + if FROZEN + dehstext += <<-EOF +(note that #{TESTING} is frozen: do not upload those new upstream versions to unstable unless you are sure it is the right thing to do!) - EOF + EOF + end end dehstext += " #{pkg} #{iss[2]} (Debian: #{iss[1]})\n" else _______________________________________________ Collab-qa-commits mailing list Collab-qa-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/collab-qa-commits