Commit graph

70 commits

Author SHA1 Message Date
Pablo Greco
b045956f51 Adapt the check before upload to the new format 2020-08-07 15:24:12 +00:00
Fabian Arrotin
e6e12ecbfd Cosmetic change for lookaside_upload and better curl return code check
Signed-off-by: Fabian Arrotin <arrfab@centos.org>
2020-05-29 18:00:58 +02:00
Fabian Arrotin
c43fda67c5 Added simple verification that source is reachable after upload
Signed-off-by: Fabian Arrotin <arrfab@centos.org>
2019-11-13 12:29:09 +01:00
Pat Riehecky
dc7af13b6c Fix mqtt message so the json isn't double escaped 2019-05-24 09:06:44 -05:00
Fabian Arrotin
8a81bc8622 Merge #4 2 Changes to make get_sources more portable 2019-05-14 05:54:44 +00:00
Johnny Hughes
96af14115c correct the escape sequence inside code tags for mqtt/mosquitto_sub/README.md 2019-04-17 09:21:16 -05:00
Johnny Hughes
92c530fe42 add a readme for some simple mqtt queries using jq and mosquitto_sub 2019-04-17 09:12:37 -05:00
Brian Stinson
b2f5375fcf add a grep to be sure we only check the origin remote (no forks) 2019-04-16 13:10:24 -05:00
Brian Stinson
7707c61e83 A WHICH! BURN IT 2019-04-16 13:10:19 -05:00
Brian Stinson
9857597bf6 add some quotes to make shellcheck happier 2019-04-16 13:06:51 -05:00
Brian Stinson
fd37ab5810 use command instead of which. this is more portable and doesn\'t require another dep 2019-04-16 10:03:11 -05:00
Brian Stinson
3382beadcc Get the proper branch name from the remote instead of the local branch
name.

This allows you to clone a commit directly by its hash, and not be
required to set up a tracking branch (with a matching name) to its
upstream.
2019-04-16 09:59:13 -05:00
Johnny Hughes
e575c2e598 set baseurl to git.centos.org 2019-04-12 08:00:45 -05:00
Johnny Hughes
489f5a7024 Merge #2 Provide sample MQTT scripts for the new infrastructure 2019-04-11 18:23:17 +00:00
Fabian Arrotin
eeff201b83 Merge #3 Check file existence before upload 2019-04-11 17:33:50 +00:00
Johnny Hughes
1fbac76eac remove gitblit specific info about centos.git.repolist.py 2019-04-11 11:59:32 -05:00
Pablo Greco
353eaf8879 Check file existence before upload 2019-04-11 16:36:20 +00:00
Pat Riehecky
0b0750a5f7 Provide sample MQTT scripts for the new infrastructure 2019-04-11 11:21:10 -05:00
Pat Riehecky
059392a377 Update centos.git.repolist.py to use pagure api 2019-04-11 10:03:10 -05:00
Fabian Arrotin
9023a882e1 Initial upload tool for git.stg test, more to be included in centpkg later
Signed-off-by: Fabian Arrotin <arrfab@centos.org>
2018-10-25 17:32:30 +02:00
Johnny Hughes
4ec6d6633e update centos.git.repolist.py for git update, submitted by Pat Riehecky 2017-06-26 10:26:57 -05:00
Colin Walters
1ad34919a1 get_sources: Print the URL we're fetching
Just for better debugging.
2016-12-14 09:46:35 -06:00
Colin Walters
552ca48e93 get_sources: Follow redirects
This is general best practice, and would have avoided the
need for 696c29f5c9
(I tested with that commit reverted)
2016-12-14 09:46:35 -06:00
Tuomo Soini
bd83a7926b get_sources: download source again if file checksum has changed
This functionality requires use of option -c.

Signed-off-by: Tuomo Soini <tis@foobar.fi>
2016-11-15 08:47:05 -06:00
Johnny Hughes
696c29f5c9 fix for git.c.o redirect 2016-07-06 14:11:13 -05:00
Pat Riehecky
4a0580184e Some packages seem to want to know where 'topdir' is 2014-12-01 10:27:25 -06:00
Johnny Hughes
3a0ccf9afb update logic for SCLs 2014-11-12 11:31:51 -06:00
Johnny Hughes
e9e1669c14 update readme to require scl-utils-build to use return_disttag.sh 2014-07-22 14:11:34 -05:00
Pat Riehecky
a68f527d1c SCL macros can prevent rpmbuild from examining some spec files
---
 into_srpm.sh      |    8 ++++++++
 return_disttag.sh |    6 ++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
2014-07-22 10:03:07 -05:00
Pat Riehecky
7520e4b130 Send these errors to stderr 2014-07-22 10:01:28 -05:00
Johnny Hughes
dea6c03fe6 added one shift to the -d option 2014-07-10 15:02:33 -05:00
Pat Riehecky
733e0e2cd7 Added option to set explicit %dist per request 2014-07-10 14:12:38 -05:00
From: Pat Riehecky
db2f8e733d Now (optionally) supports software collections 2014-07-10 10:47:06 -05:00
From: Pat Riehecky
c429fbdd94 Added switch to preserve timestamps on creation of SRPMs for ls -ltr 2014-07-10 10:46:03 -05:00
From: Pat Riehecky
01a821d933 return_disttag now works with SCL packages 2014-07-09 18:21:48 -05:00
Tyler Parsons
d96c00fa0f Allow get_sources.sh hash verification to work with hashes other than sha1 2014-06-27 13:06:10 -05:00
Pat Riehecky
64562123ea Refactor to use getopt for arg parsing 2014-06-26 14:38:49 -05:00
Pat Riehecky
828874b5c2 May want to set defaults from the override file 2014-06-26 14:37:41 -05:00
Pat Riehecky
e1634fc7ca Allow overrides of $RHELAUTHOR 2014-06-26 14:36:46 -05:00
Johnny Hughes
a0a5934fd2 updating license info for README.md 2014-06-25 17:01:14 -05:00
Mike McLean
da2660e784 don't assume specfile name matches package name in get_sources 2014-06-25 14:49:32 -05:00
Johnny Hughes
238939071b more formating for README.md 2014-06-25 13:23:18 -05:00
Johnny Hughes
f4a51bb053 formating for README.md 2014-06-25 13:22:06 -05:00
Pat Riehecky
8be9a22995 Updated -r to be more targeted 2014-06-25 12:53:40 -05:00
Pat Riehecky
87c8aeb8f6 Added script to re-create SRPM from git commit 2014-06-25 12:38:48 -05:00
Pat Riehecky
061172c484 Added optional check for sha1sum of downloaded source file 2014-06-25 12:27:07 -05:00
Pat Riehecky
4258078ef3 Added -q to get_sources for less chatty operation 2014-06-25 12:25:28 -05:00
Johnny Hughes
1be27e11af update README.md to use GPLv2 for scripts unless different version is in the script 2014-06-24 04:49:16 -05:00
Johnny Hughes
ef795ccc6d update README.md for centos-git-common 2014-06-24 04:42:12 -05:00
Pat Riehecky
a6a2bc047e Added switch to filter output based on branch, add license string 2014-06-24 04:18:12 -05:00