Compare commits

..

16 Commits

Author SHA1 Message Date
Patrick McCarty cd9b9c1319 user-setup: remove suggestion to run 'newgrp kvm'
If you run `newgrp kvm` after the user-setup script completes, and then
proceed to run `make build`, `make autospec`, etc. within a package
repo, mock will fail because it tries to `groupadd mockbuild` in the
package chroot with the wrong group ID. Logging out and logging back in
results in correct behavior, so leave that as the sole recommendation.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-03-29 10:52:16 -07:00
Patrick McCarty d22e4f985d Minor style fix in Makefile.toplevel
In my previous commit, one of the changed lines used a combination of
tabs and spaces, but it should have used tabs only.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-03-28 22:19:37 -07:00
clrbuilder eb58950c17 Update packages file for version 21540
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-03-28 16:51:30 +00:00
Patrick McCarty 8ff80b0be2 Sync options for 'autospec' and 'autospecnew' commands
Over time, the autospec options used for 'autospec' and 'autospecnew'
commands have diverged. They are meant to be in sync, so do that here,
and format the recipe in a way that eases future changes.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-03-26 14:12:38 -07:00
Patrick McCarty 05634010e9 Disable recipe echo and set -x for 'pullrebase'
The echo commands at key points of the pullrebase should be sufficient
for users to know what action pullrebase performed.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-03-23 16:42:20 -07:00
Patrick McCarty f6442a0e7f Improve behavior of 'make autospec' for new repos
If a new package repo is created with make autospecnew, and then make
autospec is run immediately afterward, a git fetch is performed, but
the remote repo is not likely to exist yet.

Address this issue by only running the git fetch if the remote origin is
initialized locally via a git push, git pull, etc.

In addition to properly supporting the workflow described above, this
change also enables developers to build packages that are *not* intended
to be included in Clear Linux OS, thus not destined to appear in the
'packages' file. Package repos of this nature might have different,
manually configured remotes, or the remote may never be initialized at
all if builds are only run locally.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-03-23 11:59:56 -07:00
clrbuilder d6250a68cd Update packages file for version 21500
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-23 06:01:38 -07:00
clrbuilder a0208a0509 Update packages file for version 21490
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-22 12:48:08 -07:00
clrbuilder 7ff122463b Update packages file for version 21480
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-22 07:16:18 -07:00
clrbuilder 08498361a4 Update packages file for version 21470
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-22 06:01:51 -07:00
clrbuilder 1b8c8d250d Update packages file for version 21440
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-20 12:03:00 -07:00
clrbuilder 4eccb104d5 Update packages file for version 21420
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-19 12:04:45 -07:00
clrbuilder 4ac2b829d3 Update packages file for version 21410
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-19 06:51:50 -07:00
clrbuilder 052fa48e83 Update packages file for version 21400
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-16 15:00:30 -07:00
clrbuilder 382ed28176 Update packages file for version 21390
Signed-off-by: clrbuilder <david.j.klimesh@intel.com>
2018-03-16 08:16:43 -07:00
Patrick McCarty e695db8c80 Fix 'make pull' to honor the autospec pushurl
A 'make clone' sets the proper git pushurl for autospec, but a
subsequent 'make pull' does not honor override. Fix by adding a special
condition for 'make pull'.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-03-14 17:30:10 -07:00
4 changed files with 385 additions and 13 deletions
+23 -10
View File
@@ -119,17 +119,25 @@ $(SRPMFILE): $(SPECFILE) $(__allsources) localreponotice
@$(MAKE) spdxcheck
$(MOCK) --buildsrpm --source=./ --spec=$(SPECFILE) --result=results/ --no-cleanup-after --uniqueext=$(PKG_NAME)
# Do a git fetch and a git rebase rather than a git pull so aborting
# the git pull at a password prompt doesn't leave local changes stashed
# Do the the git status dance so we only apply a stash we create
# Do a git fetch and a git rebase to apply local commits on top of latest
# commits from the remote. A git fetch/rebase is used rather than a git pull so
# aborting the git pull at a password prompt doesn't leave local changes
# stashed. Do the git status dance so we only apply a stash we create. Note
# that a fetch/rebase is not attempted if the remote 'origin' is not
# initialized locally, or if the remote contains no commits.
pullrebase:
if [ -z "$$SKIP_GIT" ] && [ -e .git ]; then \
set -x ; \
@if [ -z "$$SKIP_GIT" ] && [ -e .git ]; then \
if ! git rev-parse --verify --quiet origin/master > /dev/null; then \
echo "Remote not yet initialized. Continuing."; \
exit 0; \
fi; \
echo "Fetching origin"; \
git fetch; \
if ! git rev-parse --verify --quiet FETCH_HEAD > /dev/null; then \
echo "No commits exist in remote. Continuing."; \
exit 0; \
fi; \
echo "Rebasing to origin/master"; \
if git status --porcelain | grep -q '^.[^?]'; \
then \
git stash save; \
@@ -151,11 +159,16 @@ autospec: pullrebase localreponotice
exit 1; \
fi
@printf 'PKG_NAME := %s\nURL = %s\nARCHIVES = %s\n\ninclude ../common/Makefile.common\n' $(PKG_NAME) '$(firstword $(value NEWURL) $(value URL))' '$(value ARCHIVES)' > Makefile
python3 $(TOPLVL)/projects/autospec/autospec/autospec.py -t . --integrity \
${NON_INTERACTIVE} --config "$(AUTOSPEC_CONF)" ${SKIP_GIT} \
$(firstword $(NEWURL) $(URL)) --name $(PKG_NAME) ${CLEANUP} \
$${SETVERSION:+ -v $${SETVERSION}} -a $(ARCHIVES) \
-m $(MOCK_CONFIG_VAL)
python3 $(TOPLVL)/projects/autospec/autospec/autospec.py \
--target . \
--integrity \
--config "$(AUTOSPEC_CONF)" \
--name $(PKG_NAME) \
--archives $(ARCHIVES) \
--mock-config $(MOCK_CONFIG_VAL) \
$${SETVERSION:+ --version $${SETVERSION}} \
${NON_INTERACTIVE} ${SKIP_GIT} ${CLEANUP} \
$(firstword $(NEWURL) $(URL));
@$(MAKE) spdxcheck
@$(MAKE) checkblacklist
@if [ -e update_changelog.sh ] && [ -z "$$SKIP_GIT" ] ; then \
+15 -2
View File
@@ -80,7 +80,11 @@ ${PULL_PKGS}:
fi ; \
git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit $$O..$$N; echo; \
fi ; \
$(call gitoliteurl,$$p); \
if [ "$$p" = "projects/autospec" ] ; then \
git remote set-url --push origin https://github.com/clearlinux/autospec.git; \
else \
$(call gitoliteurl,$$p); \
fi ; \
else \
echo "$$p: no such remote 'origin'"; \
fi ; \
@@ -204,7 +208,16 @@ autospecnew: localreponotice
$(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) -m $(MOCK_CONFIG_VAL); \
python3 $(TOPLVL)/projects/autospec/autospec/autospec.py \
--target packages/$(NAME) \
--integrity \
--config "$(AUTOSPEC_CONF)" \
--name $(NAME) \
--archives $(ARCHIVES) \
--mock-config $(MOCK_CONFIG_VAL) \
$${SETVERSION:+ --version $${SETVERSION}} \
${NON_INTERACTIVE} ${SKIP_GIT} ${CLEANUP} \
$(URL); \
$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(TOPLVL)/packages/${NAME}/results/*.rpm; \
else \
echo "$(NAME) already exists at $(TOPLVL)/packages/$(NAME)"; \
+346
View File
@@ -31,117 +31,445 @@ Pygments
QtAwesome
QtPy
R
R-AER
R-BH
R-Brobdingnag
R-CVST
R-Cairo
R-CircStats
R-ClustVarLV
R-Cubist
R-DBI
R-DBItest
R-DEoptim
R-DEoptimR
R-DRR
R-DT
R-DendSer
R-DistributionUtils
R-Ecdat
R-Ecfun
R-EnvStats
R-FNN
R-Formula
R-GGally
R-GPArotation
R-GeneralizedHyperbolic
R-GlobalOptions
R-Hmisc
R-ICS
R-ICSNP
R-IRdisplay
R-IRkernel
R-ISwR
R-Lahman
R-LearnBayes
R-Matching
R-MatrixModels
R-ModelMetrics
R-NLP
R-NMF
R-NMOF
R-PKI
R-R.methodsS3
R-R.oo
R-R.utils
R-R2Cuba
R-R2HTML
R-R6
R-RANN
R-RColorBrewer
R-RCurl
R-RJSONIO
R-ROCR
R-RSQLite
R-RSclient
R-RUnit
R-RandomFields
R-RandomFieldsUtils
R-Rcpp
R-RcppArmadillo
R-RcppEigen
R-RcppProgress
R-RcppRoll
R-Rmpfr
R-Rmpi
R-Rtsne
R-SDMTools
R-SQUAREM
R-Sleuth2
R-SnowballC
R-SparseM
R-StanHeaders
R-SuppDists
R-TH.data
R-TRAMPR
R-TSP
R-TTR
R-TeachingDemos
R-VGAM
R-VGAMdata
R-VIM
R-XML
R-abind
R-acepack
R-actuar
R-ade4
R-analogue
R-ape
R-argparse
R-arm
R-assertthat
R-backports
R-base64enc
R-bayesm
R-bayesplot
R-bdsmatrix
R-betareg
R-bibtex
R-bindr
R-bindrcpp
R-bipartite
R-bit
R-bit64
R-bitops
R-blob
R-brew
R-brglm
R-bridgesampling
R-brms
R-broom
R-caTools
R-callr
R-car
R-caret
R-cclust
R-cellranger
R-checkmate
R-chron
R-circlize
R-classInt
R-cli
R-clustMixType
R-coda
R-coin
R-colorspace
R-colourpicker
R-combinat
R-commonmark
R-compositions
R-corpcor
R-corrplot
R-cowplot
R-crayon
R-crosstalk
R-curl
R-cvTools
R-data.table
R-dbarts
R-dbplyr
R-ddalpha
R-deSolve
R-debugme
R-deepnet
R-deldir
R-dendextend
R-desc
R-devtools
R-dfoptim
R-dichromat
R-diffusionMap
R-digest
R-dimRed
R-diptest
R-dlm
R-doMC
R-doMPI
R-doParallel
R-doRNG
R-doSNOW
R-dotCall64
R-dplyr
R-drc
R-dtw
R-dygraphs
R-dynlm
R-e1071
R-earth
R-ellipse
R-energy
R-evaluate
R-expint
R-expm
R-fastICA
R-fastcluster
R-fastmatch
R-fda
R-ff
R-fields
R-findpython
R-fitdistrplus
R-flashClust
R-flexmix
R-forcats
R-foreach
R-formatR
R-fpc
R-futile.logger
R-futile.options
R-gam
R-gamm4
R-gbm
R-gclus
R-gdata
R-geometry
R-getopt
R-ggjoy
R-ggplot2
R-ggplot2movies
R-ggridges
R-git2r
R-glmnet
R-glue
R-gmodels
R-gmp
R-goftest
R-gower
R-gplots
R-gridBase
R-gridExtra
R-gtable
R-gtools
R-haven
R-hexbin
R-highr
R-hms
R-htmlTable
R-htmltools
R-htmlwidgets
R-httpuv
R-httr
R-ica
R-igraph
R-inline
R-inum
R-ipred
R-irlba
R-iterators
R-jpeg
R-jsonlite
R-kernlab
R-klaR
R-knitr
R-labeling
R-labelled
R-laeken
R-lambda.r
R-lars
R-latticeExtra
R-lava
R-lazyeval
R-lda
R-leaps
R-lfe
R-libcoin
R-lle
R-lme4
R-lmtest
R-locfit
R-loo
R-lpSolve
R-lubridate
R-magic
R-magrittr
R-manipulate
R-mapproj
R-maps
R-maptools
R-markdown
R-matrixStats
R-matrixcalc
R-maxLik
R-mclust
R-mda
R-memisc
R-memoise
R-mi
R-microbenchmark
R-mime
R-miniUI
R-minpack.lm
R-minqa
R-miscTools
R-mixtools
R-mlbench
R-mnormt
R-mockery
R-modelr
R-modeltools
R-mondate
R-multcomp
R-multiwayvcov
R-munsell
R-mvoutlier
R-mvtnorm
R-network
R-neuralnet
R-nleqslv
R-nloptr
R-nortest
R-numDeriv
R-nycflights13
R-openssl
R-optparse
R-packrat
R-pamr
R-party
R-partykit
R-pbapply
R-pbdZMQ
R-pbkrtest
R-pcaPP
R-pdfCluster
R-permute
R-phylogram
R-pillar
R-pkgconfig
R-pkgmaker
R-plm
R-plogr
R-plotly
R-plotmo
R-plotrix
R-pls
R-plyr
R-pmml
R-png
R-polspline
R-polyclip
R-polycor
R-prabclus
R-pracma
R-praise
R-prettyunits
R-princurve
R-prodlim
R-profileModel
R-progress
R-proto
R-proxy
R-pryr
R-psych
R-purrr
R-pxweb
R-qap
R-quadprog
R-quantmod
R-quantreg
R-questionr
R-randomForest
R-ranger
R-raster
R-rasterVis
R-readr
R-readxl
R-recipes
R-registry
R-rematch
R-repr
R-reprex
R-reshape
R-reshape2
R-reticulate
R-rgenoud
R-rgl
R-rlang
R-rmarkdown
R-rms
R-rngtools
R-robCompositions
R-robustbase
R-rootSolve
R-roxygen2
R-rprojroot
R-rrcov
R-rsconnect
R-rstan
R-rstanarm
R-rstantools
R-rstudioapi
R-rversions
R-rvest
R-sROC
R-sampling
R-sandwich
R-scales
R-scatterplot3d
R-segmented
R-selectr
R-sem
R-seriation
R-setRNG
R-sfsmisc
R-sgeostat
R-shape
R-shiny
R-shinyjs
R-shinystan
R-shinythemes
R-slam
R-sm
R-smoother
R-sn
R-sna
R-snow
R-snowfall
R-som
R-sourcetools
R-sp
R-spData
R-spam
R-spatstat.data
R-spatstat.utils
R-spdep
R-spls
R-statmod
R-statnet.common
R-stringi
R-stringr
R-strucchange
R-subselect
R-superpc
R-survey
R-systemfit
R-tau
R-tclust
R-tensor
R-tensorA
R-testit
R-testthat
R-threejs
R-tibble
R-tidyr
R-tidyselect
R-tidyverse
R-timeDate
R-tis
R-tm
R-topicmodels
R-treatSens
R-tree
R-trimcluster
R-truncnorm
R-tseries
R-tsne
R-utf8
R-uuid
R-vcd
R-vegan
R-viridis
R-viridisLite
R-visNetwork
R-whisker
R-withr
R-xml2
@@ -176,6 +504,7 @@ WebOb
WebTest
Werkzeug
Whoosh
Z3
abireport
absl-py
accountsservice
@@ -225,6 +554,7 @@ augeas
authconfig
autoconf
autoconf-archive
autoconf213
autofs
autogen
automake
@@ -263,6 +593,7 @@ boto
boto3
botocore
bridge-utils
brotli
bsdiff
btrfs-progs
bundle-chroot-builder
@@ -347,6 +678,7 @@ compat-libical-soname2
compat-libpng-soname12
compat-libwebp-soname6
compat-llvm-soname4
compat-llvm-soname5
compat-mpfr-soname4
compat-opencv-soname32
compat-opencv-soname33
@@ -372,6 +704,7 @@ cpuid
cracklib
crcmod
createrepo_c
cri-containerd
cri-o
cri-tools
cryptography
@@ -651,6 +984,7 @@ httpretty
hub
hunspell
hwloc
hyperscan
hyperstart
hypothesis
i2c-tools
@@ -662,6 +996,7 @@ icon-naming-utils
icu4c
idna
imagesize
imapfilter
indent
infiniband-diags
iniparse
@@ -699,6 +1034,7 @@ ister
itstool
iw
ixpdimm_sw
jansson
jedi
jedi-vim
jemalloc
@@ -722,6 +1058,7 @@ kexec-tools
keyring
keyutils
khal
kiwisolver
kmod
koji
krb5
@@ -843,7 +1180,9 @@ libpthread-stubs
libpwquality
librepo
librsvg
librtlsdr
libsamplerate
libsass
libseccomp
libsecret
libsigc++
@@ -851,6 +1190,7 @@ libsndfile
libsolv
libsoup
libspectre
libsrtp
libssh
libssh2
libstoragemgmt
@@ -955,6 +1295,7 @@ motd-update
motif
mozjs
mozjs38
mozjs52
mpc
mpfr
mpg123
@@ -1296,12 +1637,14 @@ qtsvg
qttools
qttranslations
qtvirtualkeyboard
qtwayland
qtwebchannel
qtwebsockets
qtx11extras
qtxmlpatterns
quagga
quilt
ragel
randrproto
rdma-core
re2c
@@ -1330,6 +1673,7 @@ rxvt-unicode
s2tc
s3transfer
samba
sassc
satyr
sbc
sbsigntools
@@ -1392,6 +1736,7 @@ strace
subunit
sudo
sure
suricata
swig
swupd-client
swupd-overdue
@@ -1502,6 +1847,7 @@ wget
wheel
which
widgetsnbextension
woff2
wol
wpa_supplicant
wrapt
+1 -1
View File
@@ -149,4 +149,4 @@ fi
echo -en "\n************************\n"
echo 'Workspace has been set up in the "clearlinux" directory'
echo 'NOTE: logout and log back in or run "newgrp kvm" to finalize the setup process'
echo 'NOTE: logout and log back in to finalize the setup process'