~ionic/ubuntu/precise/reprepro/precise

« back to all changes in this revision

Viewing changes to checkin.c

  • Committer: Package Import Robot
  • Author(s): Bernhard R. Link
  • Date: 2011-12-18 20:53:58 UTC
  • mfrom: (21.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20111218205358-fi4xka40iv3bmqxd
Tags: 4.8.2-1
* new bugfix release
- warn against too long keyids in uploader files (Closes: 649311)
- don't warn against .git files in .changes files (Closes: 649308)
* suggest  xz-lzma | lzma instead of lzma alone

Show diffs side-by-side

added added

removed removed

Lines of Context:
733
733
        bool havedsc = false,
734
734
             haveorig = false,
735
735
             havetar = false,
736
 
             havediff = false;
 
736
             havediff = false,
 
737
             havealtsrc = false;
737
738
 
738
739
        /* First check for each given architecture, if it has files: */
739
740
        if (forcearchitectures != NULL) {
851
852
                        haveorig = true;
852
853
                } else if (e->type == fe_TAR) {
853
854
                        havetar = true;
 
855
                } else if (e->type == fe_ALTSRC) {
 
856
                        havealtsrc = true;
854
857
                }
855
858
        }
856
859
 
868
871
                                filename);
869
872
                return RET_ERROR;
870
873
        }
871
 
        if (havedsc && !havediff && !haveorig && !havetar) {
 
874
        if (havedsc && !havediff && !haveorig && !havetar && !havealtsrc) {
872
875
                fprintf(stderr,
873
876
"I don't know what to do having a .dsc without a .diff.gz or .tar.gz in '%s'!\n",
874
877
                                filename);