Compare commits

..

13 Commits

Author SHA1 Message Date
clrbuilder 7f94ad0fc5 Update packages file for version 36280
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-05-10 04:11:21 -07:00
clrbuilder 443c6b9694 Update packages file for version 36270
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-05-05 04:09:25 -07:00
clrbuilder 5d7039fb9a Update packages file for version 36250
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-04-28 04:09:45 -07:00
clrbuilder f2de7b7dc6 Update packages file for version 36230
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-04-26 04:10:30 -07:00
clrbuilder 446c96bf65 Update packages file for version 36220
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-04-21 06:17:20 -07:00
clrbuilder 0e420e434d Update packages file for version 36210
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-04-19 05:29:14 -07:00
clrbuilder be0cdd6c5d Update packages file for version 36200
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-04-18 07:47:06 -07:00
clrbuilder 7111d57d6c Update packages file for version 36170
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-04-14 04:08:26 -07:00
clrbuilder 96850c538a Update packages file for version 36160
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-04-12 04:27:31 -07:00
Patrick McCarty 96fd23e88b Specify branch name of main for git init of package repos
The default package repo branches are now `main`.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2022-04-11 16:13:18 -07:00
William Douglas 6f5fd11673 Move packages content over to main branch
World has moved to main, start updating accordingly.

Signed-off-by: William Douglas <william.douglas@intel.com>
2022-04-08 01:22:35 -07:00
clrbuilder 7ea85257af Update packages file for version 36140
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2022-04-06 12:50:53 -07:00
Patrick McCarty 4ccec6a4d0 diff: use git diff --stat instead of requiring diffstat
Using the --stat flag also has the benefit of automatically colorizing
the output when appropriate.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2022-04-05 12:35:09 -07:00
4 changed files with 62 additions and 23 deletions
+7 -7
View File
@@ -74,7 +74,7 @@ mockproper:
$(MOCK) --clean --uniqueext=$(PKG_NAME)
configemail:
@test -d .git || git init
@test -d .git || git init -b main
@$(call subjectprefix,$(PKG_NAME))
@echo -n "Subject prefix email configured to: "
@git config --get format.subjectPrefix
@@ -132,7 +132,7 @@ $(SRPMFILE): $(SPECFILE) $(__allsources) localreponotice clean-old-content
# initialized locally, or if the remote contains no commits.
pullrebase:
@if [ -z "$$SKIP_GIT" ] && [ -e .git ]; then \
if ! git rev-parse --verify --quiet origin/master > /dev/null; then \
if ! git rev-parse --verify --quiet origin/main > /dev/null; then \
echo "Remote not yet initialized. Continuing."; \
exit 0; \
fi; \
@@ -146,7 +146,7 @@ pullrebase:
echo "Current branch up-to-date. Continuing."; \
exit 0; \
fi; \
echo "Rebasing to origin/master"; \
echo "Rebasing to origin/main"; \
if git status --porcelain | grep -q '^.[^?]'; \
then \
git stash save; \
@@ -310,8 +310,8 @@ prekoji-checks:
koji: prekoji-checks kojidef
@$(MAKE) spdxcheck
@$(MAKE) checkblacklist
@if [ "$(CURRENT_BRANCH)" != "master" ] && [ "$(CURRENT_BRANCH)" != "main" ]; then \
echo "Error: Must be on the \"master\" or \"main\" branch to submit to koji" >&2; \
@if [ "$(CURRENT_BRANCH)" != "main" ]; then \
echo "Error: Must be on the \"main\" branch to submit to koji" >&2; \
exit 1; \
fi; \
if ! git diff --quiet HEAD -- ${SPECFILE}; then \
@@ -319,7 +319,7 @@ koji: prekoji-checks kojidef
exit 1; \
fi; \
git fetch; \
if git rev-parse --verify --quiet origin/master >/dev/null; then \
if git rev-parse --verify --quiet origin/main >/dev/null; then \
git pull --rebase; \
fi; \
if git ls-remote --tags --exit-code origin $(SRPMVERS) >/dev/null; then \
@@ -327,7 +327,7 @@ koji: prekoji-checks kojidef
exit 1; \
fi
git tag $(SRPMVERS)
git push origin $(CURRENT_BRANCH):master refs/tags/$(SRPMVERS)
git push origin $(CURRENT_BRANCH):main refs/tags/$(SRPMVERS)
$(KOJI_CMD) build $$KOJI_NOWAIT $(KOJI_TAG) $(PKG_BASE_URL)/$(PKG_NAME)?#$(SRPMVERS)
#help rekoji: In case a previous 'make koji' failed, trigger a rebuild for the
+17 -12
View File
@@ -68,13 +68,18 @@ ${PULL_PKGS}:
if [ ! -d "$$p/.git" ]; then echo "Nothing to pull for $$p - $$p/.git missing"; exit 0; fi; \
cd "$$p" ; \
if git remote | grep origin >/dev/null 2>&1; then \
O=$$(git rev-parse origin/master 2>/dev/null); \
case "$$p" in \
("projects/"*) BRANCH=master ;; \
("packages/"*) BRANCH=main ;; \
(*) BRANCH=master ;; \
esac; \
O=$$(git rev-parse origin/"$$BRANCH" 2>/dev/null); \
git fetch --tags origin >/dev/null 2>&1; \
N=$$(git rev-parse origin/master); \
N=$$(git rev-parse origin/"$$BRANCH"); \
if [ "$$O" != "$$N" ]; then \
echo "Updating: $$p"; \
if ! git merge --ff-only origin/master 2>/dev/null; then \
echo "$$p: Cannot fast-forward $$(git rev-parse --abbrev-ref HEAD) to origin/master" ; \
if ! git merge --ff-only origin/"$$BRANCH" 2>/dev/null; then \
echo "$$p: Cannot fast-forward $$(git rev-parse --abbrev-ref HEAD) to origin/$$BRANCH" ; \
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 ; \
@@ -159,19 +164,19 @@ status: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
if [ -d "$$p/.git" ] && [ -n "$$(git -C $$p status -uno --porcelain)" ]; then echo "Uncommitted changes in $$p:"; git -C "$$p" status --short; fi ;\
done
#help diff: Runs git diff for all package repos and displays the output using
#help diffstat. Requires that diffstat is installed.
#help diff: Runs git diff for all package repos and displays the diffstat using
#help the --stat flag.
diff: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
@for p in projects/common $(addprefix packages/,$(PKGS_LOCAL)); do \
(cd $$p; git status --porcelain | grep -vq '^?? ' && (echo "Uncommitted changes in: $$p"; git diff | diffstat -p1); :) ;\
(cd $$p; git status --porcelain | grep -vq '^?? ' && (echo "Uncommitted changes in: $$p"; git diff --stat); :) ;\
done
#help log: Run git log origin/master..HEAD for all package repos, thus
#help log: Run git log origin/main..HEAD for all package repos, thus
#help displaying any committed but unpushed changes.
log: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
@for p in projects/common $(addprefix packages/,$(PKGS_LOCAL)); do \
( cd $$p; if [ -n "$$(git rev-list origin/master..HEAD)" ] ; then \
echo $$p ; git --no-pager log --pretty="format:%s" origin/master..HEAD ; echo ; echo;\
( cd $$p; if [ -n "$$(git rev-list origin/main..HEAD)" ] ; then \
echo $$p ; git --no-pager log --pretty="format:%s" origin/main..HEAD ; echo ; echo;\
fi ; ) \
done
@@ -211,7 +216,7 @@ autospecnew: preautospecnew-checks localreponotice
mkdir -p $(TOPLVL)/packages/$(NAME); \
( \
cd $(TOPLVL)/packages/$(NAME); \
git init; \
git init -b main; \
git remote add origin $(PKG_BASE_URL)/$(NAME); \
$(call gitoliteurl,packages/$(NAME)); \
$(call subjectprefix,$(NAME)); \
@@ -262,7 +267,7 @@ autospecnewgo: preautospecnew-checks localreponotice
mkdir -p $(TOPLVL)/packages/$(NAME); \
( \
cd $(TOPLVL)/packages/$(NAME); \
git init; \
git init -b main; \
git remote add origin $(PKG_BASE_URL)/$(NAME); \
$(call gitoliteurl,packages/$(NAME)); \
$(call subjectprefix,$(NAME)); \
+1 -1
View File
@@ -23,7 +23,7 @@ Download the [user setup](user-setup.sh) script and run it on your Clear Linux
system as an unprivileged user.
```
$ curl -O https://raw.githubusercontent.com/clearlinux/common/master/user-setup.sh
$ curl -O https://raw.githubusercontent.com/clearlinux/common/main/user-setup.sh
$ chmod +x user-setup.sh
$ ./user-setup.sh
```
+37 -3
View File
@@ -49,6 +49,7 @@ QGIS
R
R-AER
R-AMORE
R-ATR
R-Amelia
R-AmesHousing
R-BB
@@ -432,6 +433,9 @@ R-future
R-future.apply
R-g.data
R-gam
R-gamlss
R-gamlss.data
R-gamlss.dist
R-gamm4
R-gargle
R-gbRd
@@ -588,6 +592,7 @@ R-mda
R-measures
R-memisc
R-memoise
R-metadat
R-metafor
R-mi
R-mice
@@ -648,6 +653,7 @@ R-optextras
R-optimx
R-optparse
R-ordinal
R-ordinalCont
R-orthopolynom
R-pROC
R-packrat
@@ -937,6 +943,7 @@ R-tm
R-tmvnsim
R-toOrdinal
R-topicmodels
R-tram
R-tree
R-triebeard
R-trimcluster
@@ -1061,7 +1068,6 @@ analitza
ansible
ansible-core
antlr4-python3-runtime
anyio
apache-ant
applaunchservices
appstream
@@ -1127,6 +1133,7 @@ bcache-tools
bcc
bcftools
bdftopcf
bemenu
bijiben
bind-utils
binutils
@@ -1179,6 +1186,7 @@ byobu
bz2file
bzip2
c-ares
c-basic-meta
cJSON
c_rehash
ca-certs
@@ -1202,7 +1210,6 @@ cdparanoia
ceph
ceph-deploy
cereal
certbot
cfitsio
cgdb
cgit
@@ -1294,6 +1301,7 @@ compat-lua-53
compat-nettle-soname7
compat-pangomm-soname14
compat-poppler-soname112
compat-poppler-soname117
compat-protobuf-soname23
compat-readline-soname5
compat-rest-soname07
@@ -1385,6 +1393,7 @@ docbook2X
docker
docker-cli
dockerpty
docutils
dolphin
dolphin-plugins
dos2unix
@@ -1496,7 +1505,6 @@ fribidi
fritzing-app
fs
fsearch
funcparserlib
fuse
fwupd
fwupd-efi
@@ -1505,6 +1513,7 @@ gawk
gc
gcab
gcc
gcc11
gcc7
gcc8
gcc9
@@ -2012,6 +2021,7 @@ ledmon
lensfun
leptonica
less
level-zero
leveldb
lftp
libArcus
@@ -2070,6 +2080,7 @@ libcomps
libconfig
libcroco
libcryptui
libcuckoo
libcxx
libdaemon
libdatrie
@@ -2325,6 +2336,7 @@ lksctp-tools
llvm
llvm11
llvm12
llvm13
lm-sensors
lmdb
logrotate
@@ -3598,14 +3610,17 @@ pypi-aiofiles
pypi-aiohttp
pypi-aiohttp_cors
pypi-aiosignal
pypi-aiosmtpd
pypi-alabaster
pypi-ansi2html
pypi-ansible_compat
pypi-ansible_pygments
pypi-anyio
pypi-apacheconfig
pypi-apipkg
pypi-appdirs
pypi-applicationinsights
pypi-appnope
pypi-argcomplete
pypi-argon2_cffi
pypi-argon2_cffi_bindings
@@ -3622,6 +3637,7 @@ pypi-async_generator
pypi-async_timeout
pypi-asynctest
pypi-atomicwrites
pypi-atpublic
pypi-attrs
pypi-awesomeversion
pypi-awscrt
@@ -3640,6 +3656,7 @@ pypi-backcall
pypi-backports.cached_property
pypi-backports.entry_points_selectable
pypi-backports.functools_lru_cache
pypi-backports.shutil_get_terminal_size
pypi-backports.ssl_match_hostname
pypi-backports.weakref
pypi-bash_kernel
@@ -3671,8 +3688,11 @@ pypi-cached_property
pypi-cachetools
pypi-cachy
pypi-capturer
pypi-cattrs
pypi-cchardet
pypi-cerberus
pypi-certbot
pypi-certbot_dns_google
pypi-certifi
pypi-cffi
pypi-cffsubr
@@ -3766,6 +3786,7 @@ pypi-envs
pypi-eternalegypt
pypi-etuples
pypi-evdev
pypi-exceptiongroup
pypi-exdir
pypi-execnet
pypi-executing
@@ -3787,10 +3808,12 @@ pypi-flask
pypi-flatten_json
pypi-flit
pypi-flit_core
pypi-flit_scm
pypi-fontmath
pypi-freezegun
pypi-frozenlist
pypi-fsspec
pypi-funcparserlib
pypi-future
pypi-gast
pypi-gcs_oauth2_boto_plugin
@@ -3824,6 +3847,7 @@ pypi-h11
pypi-h2
pypi-h5py
pypi-hammock
pypi-hatch_vcs
pypi-hatchling
pypi-heapdict
pypi-hkp4py
@@ -3951,6 +3975,7 @@ pypi-mkdocs_material
pypi-mkdocs_material_extensions
pypi-mock
pypi-molecule
pypi-molecule_docker
pypi-monotonic
pypi-more_itertools
pypi-moreorless
@@ -3983,12 +4008,14 @@ pypi-netdisco
pypi-netifaces
pypi-networkx
pypi-nibabel
pypi-nltk
pypi-nocasedict
pypi-nocaselist
pypi-nodeenv
pypi-nose
pypi-nose_timer
pypi-notebook
pypi-notebook_shim
pypi-numpoly
pypi-numpy
pypi-numpydoc
@@ -4016,6 +4043,7 @@ pypi-pathlib
pypi-pathspec
pypi-patsy
pypi-pbr
pypi-pdm_pep517
pypi-pdocs
pypi-pecan
pypi-ped
@@ -4097,6 +4125,7 @@ pypi-pylint
pypi-pyls_black
pypi-pymdown_extensions
pypi-pynacl
pypi-pynetbox
pypi-pynsist
pypi-pyopengl
pypi-pyopenssl
@@ -4255,6 +4284,7 @@ pypi-sphinx_last_updated_by_git
pypi-sphinx_notfound_page
pypi-sphinx_rtd_theme
pypi-sphinx_thebe
pypi-sphinx_theme_builder
pypi-sphinx_togglebutton
pypi-sphinxcontrib_apidoc
pypi-sphinxcontrib_applehelp
@@ -4342,6 +4372,7 @@ pypi-ua_parser
pypi-uamqp
pypi-uc_micro_py
pypi-ufolib2
pypi-uharfbuzz
pypi-ujson
pypi-uncertainpy
pypi-unicodedata2
@@ -4367,6 +4398,7 @@ pypi-webcolors
pypi-webencodings
pypi-webob
pypi-websocket_client
pypi-websockets
pypi-webtest
pypi-werkzeug
pypi-wheel
@@ -4723,6 +4755,7 @@ usrbinjava
usrbinpython
usrbinvi
utf8cpp
utf8proc
util-linux
util-macros
uwsgi
@@ -4878,3 +4911,4 @@ zopfli
zsh
zstd
zstd-bin
zxing