lp:config

Created by Jelmer Vernooij and last modified
Get this branch:
bzr branch lp:config

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
config
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.savannah.gnu.org/config.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log

Recent revisions

1214. By Ozkan Sezer <email address hidden>

config.sub: disable shellcheck SC2006 / SC2268 warnings

This is in line with the recent config.guess change in commit
12fcf67c9108f4c4b581eaa302088782f0ee40ea

* config.sub (shellcheck disable): Add SC2006,SC2268.

Suggested-by: Jacob Bachmeyer <email address hidden>
Signed-off-by: Ozkan Sezer <email address hidden>
Signed-off-by: Dmitry V. Levin <email address hidden>

1213. By Ozkan Sezer <email address hidden>

config.sub: normalize the quoting in the `echo FOO | sed ...`

Some cases quote the argument to echo and some do not. At runtime
it probably does not matter because the substituted values will never
contain whitespace, but quoting them all would make shellcheck more
useful.

* config.sub: Consistently quote the argument of echo.
* doc/config.sub.1: Regenerate.

Suggested-by: Jacob Bachmeyer <email address hidden>
Signed-off-by: Ozkan Sezer <email address hidden>
Signed-off-by: Dmitry V. Levin <email address hidden>

1212. By Ozkan Sezer <email address hidden>

config.sub: replace POSIX $( ) with classic ` ` throughout

This is in line with the recent config.guess change in commit
d70c4fa934de164178054c3a60aaa0024ed07c91.

The patch was generated using patch-6.gawk script introduced in that
commit.

* config.sub: Revert POSIX command substitutions to classic form.

Signed-off-by: Ozkan Sezer <email address hidden>
Signed-off-by: Dmitry V. Levin <email address hidden>

1211. By Vineet Gupta <email address hidden>

Recognize arc32

This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
32-bit ARCv2 ISA)

| make check
| cd testsuite && bash config-guess.sh && rm uname
| PASS: config.guess checks (136 tests)
| cd testsuite && bash config-sub.sh
| PASS: config.sub checks (864 tests)
| PASS: config.sub idempotency checks (801 tests)
| PASS: config.sub canonicalise each config.guess testcase (136 tests)

* config.guess (arc32:Linux:*:*): Recognize.
* config.sub (arc32): Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
* testsuite/config-guess.data: Add a test case for arc32.
* testsuite/config-sub.data (arc32, arc*-elf): Add test cases.

Signed-off-by: Vineet Gupta <email address hidden>
Signed-off-by: Dmitry V. Levin <email address hidden>

1210. By Jacob Bachmeyer <email address hidden>

Remove automatic patch generators

These tools have served their purposes and need not be kept outside of
the repository history any longer. This patch as a diff also collects
the contents of the various tools in one convenient place.

* patch-1.gawk: Remove.
* patch-3.gawk: Likewise.
* patch-6.gawk: Likewise.

1209. By Jacob Bachmeyer <email address hidden>

config.guess: manual fixups after previous automatic patch

The tool could not handle command substitutions that span lines, but
fortunately there were only two such substitutions in the script.

The test for which universe is active on Pyramid is rewritten into a
case block because it was the only use of a command substitution as an
argument to the test command, which would require quoting.

* config.guess: Rewrite "if" for Pyramid systems to "case".

1208. By Jacob Bachmeyer <email address hidden>

config.guess: replace POSIX $( ) with classic ` ` throughout

The previous replacement of backticks with POSIX command substitutions
was ill-considered and illogical: this script recognizes many archaic
machine types that probably never had POSIX shells, therefore it needs
to be able to run successfully under pre-POSIX shells.

This patch was generated using the included GNU Awk program.

* config.guess: Revert POSIX command substitutions to classic form.
* patch-6.gawk: Store the tool that produced the automated patch.

1207. By Jacob Bachmeyer <email address hidden>

config.guess: manual fixup after previous automated patches

This patch provides the special handling for the GNU system. As these
were two small and unique edits, they were not included in the scripts.

This patch also cleans up other minor issues that must be addressed
before reverting to classic command substitutions and updates
"shellcheck" directives to account for changes in this script and the
change in "shellcheck" towards reporting individual portability issues.

1206. By Jacob Bachmeyer <email address hidden>

config.guess: automatic fixups after previous automated patch

This patch was generated using the following command:

  sed -i config.guess \
      -e '/="[^"]\+"\(-\|$\)/s/="\([^"([:space:])]\+\)"/=\1/' \
      -e '/="[^"]\+"[[:alnum:]]/s/="\$\([^([:space:])]\+\)"/=${\1}/' \
      -e \
'/\$(echo[^|]\+|/s/\([^[:space:]]\)[[:space:]]*|[[:space:]]*sed/\1 | sed/g'

* config.guess: Remove unneeded quotes in other variable assignments,
standardize spacing for "echo ... | sed" substitutions.

1205. By Jacob Bachmeyer <email address hidden>

config.guess: remove unneeded quotes and factor command substitutions

This is further cleanup and simplifies some constructs that can confuse
Emacs' syntax highlighting while generally reducing required quoting.

This patch was generated using the included GNU Awk program.

* config.guess: Remove unneeded variable quotes and factor out command
substitutions when setting GUESS.
* patch-3.gawk: Store the tool that produced the automated patch.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers