Compare commits

..

5 Commits

Author SHA1 Message Date
Patrick McCarty 9892e87aec autospecnew: never clone the remote repo
With the assumption that developers will be keeping up-to-date by
running 'make pull; make clone', trying to clone the remote repo here is
not necessary.

If the package git repo already exists locally, no action is taken.
Otherwise, create a local package git repo, and then run autospec.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-02-26 13:34:52 -08:00
clrbuilder 100ad5965e Update packages file for version 20920
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-02-22 12:01:34 -08:00
clrbuilder 61db58c057 Update packages file for version 20910
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-02-22 06:01:30 -08:00
clrbuilder abe044ee0c Update packages file for version 20890
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-02-21 06:01:43 -08:00
clrbuilder 8997c889f8 Update packages file for version 20870
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-02-20 06:28:36 -08:00
2 changed files with 19 additions and 1 deletions
+7 -1
View File
@@ -193,10 +193,16 @@ autospecnew:
echo "Please specify NAME and URL. The ARCHIVES variable is optional."; \
exit 1; \
fi
@git clone $(PKG_BASE_URL)/$(NAME) $(TOPLVL)/packages/$(NAME) &> /dev/null || true
@if [ ! -d $(TOPLVL)/packages/$(NAME)/.git ]; then \
echo "no remote repository found, creating new package repository and running autospec"; \
mkdir -p $(TOPLVL)/packages/$(NAME); \
( \
cd $(TOPLVL)/packages/$(NAME); \
git init; \
git remote add origin $(PKG_BASE_URL)/$(NAME); \
$(call gitoliteurl,packages/$(NAME)); \
$(call subjectprefix,$(NAME)); \
); \
printf 'PKG_NAME := %s\nURL = %s\nARCHIVES = %s\n\ninclude ../common/Makefile.common\n' $(NAME) '$(value URL)' '$(value ARCHIVES)' > $(TOPLVL)/packages/$(NAME)/Makefile; \
python3 $(TOPLVL)/projects/autospec/autospec/autospec.py --integrity -t packages/$(NAME) --config $(AUTOSPEC_CONF) $(URL) --name $(NAME); \
$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(TOPLVL)/packages/${NAME}/results/*.rpm; \
+12
View File
@@ -9,6 +9,7 @@ Jinja2
Keras
LS_COLORS
LVM2
LibRaw
LibVNCServer
Linux-PAM
LuaJIT
@@ -254,6 +255,7 @@ bluez
bndl-lamp-basic
bokeh
boost
borgbackup
boto
boto3
botocore
@@ -268,6 +270,7 @@ c_rehash
ca-certs
ca-certs-static
cabextract
cached-property
cairo
cairomm
cargo
@@ -333,6 +336,7 @@ comedilib
compat-SDL2-soname1
compat-efivar-soname0
compat-fuse-soname2
compat-gegl
compat-glew-soname1
compat-guile-soname20
compat-libical-soname2
@@ -388,6 +392,7 @@ dbus-glib
dconf
deap
decorator
defusedxml
dejagnu
desktop-file-utils
dfc
@@ -508,6 +513,7 @@ geoclue
geocode-glib
gettext
gevent
gexiv2
gflags
ghostscript
gimp
@@ -666,6 +672,7 @@ irssi
isa-l
iso-codes
iso8601
isodate
isort
ister
itstool
@@ -928,6 +935,7 @@ mozjs38
mpc
mpfr
mpg123
msgpack-python
msmtp
msr-tools
mstflint
@@ -1018,6 +1026,7 @@ opusfile
orc
ordereddict
ostree
ovirt-guest-agent
p11-kit
p7zip
packaging
@@ -1230,6 +1239,7 @@ python-systemd
python-tappy
python-toml
python-urwid
python-zeep
python3
pytz
pyudev
@@ -1252,6 +1262,7 @@ qtlocation
qtmultimedia
qtquickcontrols
qtquickcontrols2
qtremoteobjects
qtscript
qtscxml
qtsensors
@@ -1401,6 +1412,7 @@ tiptop
tk
tmux
tokyocabinet
toolbelt
tornado
totem
totem-pl-parser