Mailinglist Archive: opensuse-buildservice (156 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] [backend] (deb) Add Sources files to Release file.
  • From: Marguerite Su <i@xxxxxxxxxxxxx>
  • Date: Fri, 13 Apr 2012 01:22:28 +0800
  • Message-id: <CAK0PdAkZLC_2cbcVz0E-wFO3OVrcUTnit3pSVSVsfo9tS=rWoQ@mail.gmail.com>
On Fri, Apr 13, 2012 at 1:13 AM, Hector Oron
<hector.oron@xxxxxxxxxxxxxxx> wrote:
 On Debian style repositories include Source and Source.gz as part of Release
 file.

Signed-off-by: Hector Oron <hector.oron@xxxxxxxxxxxxxxx>
---
 src/backend/bs_publish |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/backend/bs_publish b/src/backend/bs_publish
index e3ced5d..afa1bbb 100755
--- a/src/backend/bs_publish
+++ b/src/backend/bs_publish
@@ -568,7 +568,7 @@ EOL
  close(OUT) || die("close: $!\n");

  open(OUT,">>$extrep/Release") || die("$extrep/Release: $!\n");
-  foreach my $f ( "Release", "Packages", "Packages.gz" ) {
+  foreach my $f ( "Release", "Packages", "Packages.gz", "Sources",
"Sources.gz" ) {

    open(FILE,"<$extrep/$f") || die;
    my @all = <FILE>;
--
1.7.9.1

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx


Hi, Hector,

OBS source code is hosted at:

https://github.com/openSUSE/open-build-service

feel free to fork and require for merge.

I'm not official/develop people, but I subscribed here for long, it
seems a usage discussion area (in my point of view, didn't see any
patch here in my subscription history, or I missed it).
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
References