[macports-base] branch gsoc17-migrate updated (cce2c5c -> a8ff6c5)
Clemens Lang
cal at macports.org
Sun Jan 7 14:41:47 UTC 2018
Clemens Lang (neverpanic) pushed a change to branch gsoc17-migrate
in repository macports-base.
discard cce2c5c Add --last option to restore action
discard f9628df Add force and nosync options to selfupdate
discard 54564b6 WIP: Upgrade port command for migrate
discard d2ae305 Add a port command check before restoring
discard 1f839d3 Correct the flow for yes-no question followup
discard 66f04f4 Call deactivate only if active
discard 9f0c2e4 Deactivate ports before `restore`
discard 759fa2b Add function to extract the id of a snapshot
discard 32a1e53 Fetch list of last 10 snapshots for restore
discard 844f62a Initialize restore module
discard a7bfa21 Remove restore part from migrate script
discard 0b7f10b Make 'note' argument to snapshot working
discard ab0de21 Install only the originally requested ports
discard ba274ff Add ui_msgs and convert camelcases to underscores
discard 116b28b Make migrate accept the new format of [snapshot ports]
discard 0858538 Add documentation for snapshot files
discard d6c1c11 Remove debug printf statements
discard dd36094 Pass ports as strings to Tcl
discard f4932c7 Convert variants to variant string before passing
discard bd20eb4 fix bugs in migrate fetch functions: over
discard 93e6054 WIP: debugging migrate fetch functions
discard 4f20702 Register snapshot as a command
discard 5d1e3e7 Add propget and ports_get method for a snapshot
discard 6404dca remove entry-to-snapshot migration errors
discard 1cef08b create snapshotobj module with basic registry::snapshot commands
discard 5f9b1db WIP: snapshot migration
discard 211f9e2 WIP: Move cregistry snapshot functions
discard 18e3a72 Add C header file for handling snapshot methods
discard 6bc408e Add C header file for handling snapshot object methods
discard e88eceb Remove potential compiling errors and modularize snapshot
discard c23bfe4 WIP: Add utility functions for snapshot entity
discard 6261d51 WIP: Add C functions to get snapshot
discard 345e297 WIP: Add registry functions for getting reg_snapshot like reg_entry
discard ca6fe75 Improve the SQL query to get snapshot elements
discard 973118a Add SQL query for fetching a snapshot from a given id
discard 94f9ecc Remove infrequently used sql indices
discard 305873e Add the required data structure for snapshot
discard 288b104 fetching snapshot procedure in progress
discard da3e5c4 remove unused VERSION variable
discard 699e528 sorting ports finalized for installation and uninstallation
discard 01c3b99 import migrate module to macports
discard e743168 WIP: Sort ports before installing
discard d5b9268 Move restore to migrate instead
discard 05663cc Run only the install target
discard ba7b50c Add install ports proc to restore
discard e3df880 Uninstall installed ports before restoring snapshot
discard 47d7ac1 Add restore action to action array
discard 273676d Store the current state (imaged/installed) of the port in snapshot
discard 585ed35 Store variants with sign in registrydb as part of snapshot
discard 1093256 minor changes
discard 6abdadf WIP: Parse variants and store in registry
discard fa01b9a Bug fix: sql
discard ce89b89 WIP: Add function to store port variants (with sign) as part of a snapshot
discard 0963135 Add primary and foreign keys separately
discard 2bc8b0f WIP: Add function to store ports as part of the snapshot
discard a2efaa7 WIP: Connect to registry db and add a snapshot in snapshots table
discard 2b4fcb3 Include snapshot.tcl in MakeFile
discard db970cb Add snapshot tables to update_db function
discard 8504c29 Add new table schema required for snapshot action
discard 064c11e Add snapshot action to action_array
add c2df3cc Close the portfiles after reading
add 598031a Regenerate configure script
add 9fd6b42 Remove call to removed ACX_PTHREAD
add fc0cbb4 Remove references to OBJC_* build variables
add ccda02d Fix configure checks for frameworks
add e3a0dc2 Fix typo in HAVE_FRAMEWORK_IOKIT
add c8c1565 Add /dev/{u,}random to sandbox whitelist
add efbb62a Remove redundant check for Xcode license .plist
add 384a492 doc: Ignore generated HTML man pages
add 79cad8d doc: Use port actions term consistently
add 741b6bb doc: Regenerate port.1 man page
add ef5ecfe portconfigure: Put a space between -isysroot and the path
add fbdd6a5 portconfigure: Look in /Library/Developer/CommandLineTools/SDKs/ for our versioned SDK if we can't find it in Xcode
add 677dda5 portutil: Fix a typo in a warning message
add 440fc6c Revert "portconfigure: Put a space between -isysroot and the path"
add 0310feb livecheck: add -nocase to ignore all cases in regexp
add d11aa8f ChangeLog: Update for recent changes
add 3d4c9b3 sip_copy_proc: Use copyfile(3) in sip-workaround
add 24ca597 darwintrace: no getdirentries() with 64-bit inodes
add a57dae1 darwintrace: get rid of deprecated syscall() macro
add 4c439bc Prefer stdatomic over deprecated OSAtomic*
add 2fcb269 machista: Use OSByteOrder.h instead of OSAtomic.h
add ef62a20 darwintrace: Include dirent.h for getdirentries()
add 58cb6a1 darwintrace: Silence compiler warnings on 10.5 ppc
add af71bf8 darwintrace: Avoid dirent.h to fix compile error
add 6c8c70b Fix sometimes leaving orphaned Portfiles in the registry
add 0cf1faf New argument port fetch --no-mirrors
add dd56021 Expand license output by adding '(' 'or' ')' 'and' between licenses
add 31a24c6 Only change license output if pretty_print is enabled
add f0871b4 darwintrace: Restore tracing for stat64
add b1b1ea0 Remove clang-3.[789] from OS versions with SDKs that require functionality not in those compilers
add 4573c64 Clean up dead and redundant code related to action completion
add 9c48520 Error when a port is opened with a nonexistent subport
add 4de540d Remove outdated doc/exampleport
add 33fa555 Only consider relevant actions for expansion
add 628dc49 For port -q provides only output port (no warnings)
add 69c745b portconfigure: Don't fall back on macosx if we are unable to find an appropriate versioned SDK
add 6a63c5b portconfigure: Return a hard error when unable to determine the SDK to build against
add cb44b1e Changelog: Update for 2.4.2
add 3ba09e0 configure: Update macOS version checks
add 5f6bd08 configure: Update Xcode version checks
add 49989d9 test: New test to check for setuid permission bit
add d72ad48 sandbox: Add file-write-setugid for macOS 10.13
add 16ca02a ChangeLog: Update for recent changes
add 5e4cfce vendor: Fix permissions of tcllib on install
add 41ecf42 ChangeLog: Release date for 2.4.2
add c4e5680 Update RELEASE_URL to 2.4.2
add 9993bfa ReleaseProcess: Add notes for updating Travis CI
add 54827a7 diagnose: Fix reversed logic when fixing PATH
add 09eacc4 diagnose: No check if $prefix/bin is first in PATH
add 497aed0 diagnose: Add guide link for shell configuration
add 587b720 diagnose: Rework fixing PATH in shell profile
add ba6e65b startupitem_type: remove SystemStarter
add 46818dc ChangeLog: Update for b042c0e7
add ff1e2a7 Use less portable struct passwd fields conditionally
add ba8e3a6 misc: let 'port provides' and trace mode honor the FS case-sensitivity.
add bd36a3b pextlib1.0: implement mount point FS case-sensitivity caching.
add 5821508 Remove configure checks for launchd
add 9b8a1e1 When using port lint, allow spaces before PortGroup lines
add 047905c lint: follow up to 9b8a1e1ac; anchor space to start of PortGroup line
add f5e9264 Avoid creating doc/.dep upon make clean
add da74d6a join multiple values of pkg_config_path with colon
add 52dfc78 cregistry: Simplify query string with asprintf()
add 22d669a Remove rcng startupitem type
add 8e3faa6 ReleaseProcess: Update Trac with new version
add 687ee69 doc: Regenerate macports.conf.5 man page
add da3909b ReleaseProcess: Add note to regenerate man pages
add 14a5154 Make leaves pseudo-port recursive
add 73857cb ChangeLog: Update for 14a51540
add 38fe236 Fix typo in manpages
add 387cd8c Don't allow non-integer epoch or revision
add dcf6a81 Remove lint check for non-integer revision, epoch
add e629023 doc/port.1: update header to date of latest commit
add 12bb12c Fix prototype for new_mount_cs_cache
add caa1ea9 Use sig_atomic_t instead of int for signal handler
add 8fd6b21 Remove the the single extra word
add 591f8a2 src/port1.0/porttrace.tcl: fix another "the"/"this" (likely) typo.
add 1b07064 tracelib: Use binary search in dep_check()
add 5f217c9 tracelib: Implement binary search with bsearch(3)
add 1a78a90 portbuild.tcl: Specify -j flag when using ninja
add a1e0b3b portutil.tcl: Fix typos in comments
add 1c7c8b2 portindex.tcl: Remove -a flag from usage
add 7cc584c portconfigure: Add macports-clang-5.0 to our list of preferred compilers
add c4107fc portconfigure: Remove macports-clang-3.8 from our list of preferred compilers
add adf078d fix error when sw_vers fails
add a4d9ce4 pkg_mkindex.sh.in: Convert tabs to spaces
add 37fe73a Remove comment that these scripts take one argument
add c8c2cbc aclocal.m4: Fix typos in comments
add bdeb441 Begin AS_HELP_STRINGs with lowercase letter, no trailing period
add 0d8cb9a cURL is curl now
add acc1e62 portutil.tcl: Fix case-only renames when no arguments given
add 29d9709 portutil.tcl: Fix non-case-only renames
add db2bba8 portutil.tcl: Fix renames that supply the -force option
add 1f76522 sandbox: Allow file-write-data for /var/db/mds
add ab08bf2 Fix `make install DESTDIR=/foobar`
add 6403f93 Update config.guess
add 5bb5089 Update config.sub
add 5f988d5 Assume we're building on a POSIX compliant
add ce62e0d Clean up a ton
add ae3c2d3 clean up after removal of lockf changes
add 6f0fec0 strcasecmp cleanup
add b7e7fe5 Correct default value of distpath in docs
add 209e78f Further assume we're on a POSIX system
add f80f10d portfile.7: clean up post 10.3 removal
add b22cb0f Merge pull request #53 from grimreaper/eax/103/brm
add 95a153e portchecksum.tcl: Add size to default checksum types
new 5bcc34a Add snapshot action to action_array
new 116886c Add new table schema required for snapshot action
new 0b63090 Add snapshot tables to update_db function
new 322fa2f Include snapshot.tcl in MakeFile
new 1e582ca WIP: Connect to registry db and add a snapshot in snapshots table
new aa112e2 WIP: Add function to store ports as part of the snapshot
new 7031d97 Add primary and foreign keys separately
new 79715a7 WIP: Add function to store port variants (with sign) as part of a snapshot
new c38f011 Bug fix: sql
new 63351f9 WIP: Parse variants and store in registry
new 8219941 minor changes
new 205b972 Store variants with sign in registrydb as part of snapshot
new 500a481 Store the current state (imaged/installed) of the port in snapshot
new ac954b0 Add restore action to action array
new 0b483eb Uninstall installed ports before restoring snapshot
new 0b91484 Add install ports proc to restore
new 775a737 Run only the install target
new 9fb110e Move restore to migrate instead
new e997b87 WIP: Sort ports before installing
new affd02b import migrate module to macports
new 47eccb6 sorting ports finalized for installation and uninstallation
new 97934cb remove unused VERSION variable
new 9dcf964 fetching snapshot procedure in progress
new 02e9128 Add the required data structure for snapshot
new de907a9 Remove infrequently used sql indices
new dea220b Add SQL query for fetching a snapshot from a given id
new 1317bcb Improve the SQL query to get snapshot elements
new 91e3379 WIP: Add registry functions for getting reg_snapshot like reg_entry
new 868916e WIP: Add C functions to get snapshot
new b6c4cd9 WIP: Add utility functions for snapshot entity
new 2ed40b0 Remove potential compiling errors and modularize snapshot
new 6748400 Add C header file for handling snapshot object methods
new fd1a4c9 Add C header file for handling snapshot methods
new 7124581 WIP: Move cregistry snapshot functions
new 770503d WIP: snapshot migration
new 1bb98f2 create snapshotobj module with basic registry::snapshot commands
new 5577f7d remove entry-to-snapshot migration errors
new 687c13e Add propget and ports_get method for a snapshot
new 12d555b Register snapshot as a command
new 7f6be10 WIP: debugging migrate fetch functions
new c3ffaa6 fix bugs in migrate fetch functions: over
new dd79b96 Convert variants to variant string before passing
new 984fff5 Pass ports as strings to Tcl
new 3d0d789 Remove debug printf statements
new a355bdf Add documentation for snapshot files
new 632e1b3 Make migrate accept the new format of [snapshot ports]
new d8ead52 Add ui_msgs and convert camelcases to underscores
new 6b6a0d8 Install only the originally requested ports
new 3c1b852 Make 'note' argument to snapshot working
new 13a4c41 Remove restore part from migrate script
new 6499cdf Initialize restore module
new e6a06d4 Fetch list of last 10 snapshots for restore
new 54e2ad5 Add function to extract the id of a snapshot
new 56918a9 Deactivate ports before `restore`
new 352c555 Call deactivate only if active
new 5610a9e Correct the flow for yes-no question followup
new 5b177f5 Add a port command check before restoring
new f25ea3a WIP: Upgrade port command for migrate
new 206cda6 Add force and nosync options to selfupdate
new eff80e5 Add --last option to restore action
new 2d1bf3c migrate: Fix warning due to missing include
new 111aafa migrate: Fix warning due to use of char as pointer
new fc0c08a migrate: Remove unused static function
new 9811edc macports: Refactor obtaining os_* variables
new dcf0d4e selfupdate: Add --migrate: rebuilds w/o downgrade
new a8f3864 restore: Remove port command checking
new a263ee3 restore: Clean up output
new 16e0a2a migrate: Upgrade base first, automatically restart
new e4c50fc macports: Use needs_migration, chng migration msg
new a8ff6c5 macports: skip OS check for migrate/selfupdate
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (cce2c5c)
\
N -- N -- N refs/heads/gsoc17-migrate (a8ff6c5)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 70 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 1 +
ChangeLog | 24 +
Mk/macports.autoconf.mk.in | 9 -
aclocal.m4 | 135 +-
autogen.sh | 3 +-
config.guess | 780 +++++-----
config.sub | 400 +++--
config/RELEASE_URL | 2 +-
configure | 2433 +++++-------------------------
configure.ac | 30 +-
doc/Makefile.in | 2 +
doc/exampleport/Portfile | 92 --
doc/macports.conf.5 | 4 +-
doc/macports.conf.5.txt | 2 +-
doc/macports.conf.in | 4 +-
doc/port-selfupdate.1 | 4 +-
doc/port-selfupdate.1.txt | 15 +-
doc/port-sync.1 | 4 +-
doc/port-sync.1.txt | 2 +-
doc/port.1 | 31 +-
doc/port.1.txt | 19 +-
doc/portfile.7 | 21 +-
portmgr/ReleaseProcess.md | 33 +
portmgr/dmg/ReadMe.rtf | 2 +-
src/config.h.in | 69 +-
src/cregistry/Makefile.in | 2 +-
src/cregistry/entry.c | 38 +-
src/cregistry/entry.h | 6 +-
src/cregistry/snapshot.c | 3 +-
src/cregistry/sql.c | 38 +-
src/darwintracelib1.0/access.c | 3 -
src/darwintracelib1.0/close.c | 3 -
src/darwintracelib1.0/darwintrace.c | 34 +-
src/darwintracelib1.0/dup2.c | 3 -
src/darwintracelib1.0/mkdir.c | 5 -
src/darwintracelib1.0/open.c | 3 -
src/darwintracelib1.0/proc.c | 15 -
src/darwintracelib1.0/readdir.c | 18 +-
src/darwintracelib1.0/readlink.c | 7 -
src/darwintracelib1.0/rename.c | 3 -
src/darwintracelib1.0/rmdir.c | 3 -
src/darwintracelib1.0/stat.c | 35 +-
src/darwintracelib1.0/unlink.c | 3 -
src/dedup_portfiles.tcl.in | 1 -
src/images_to_archives.tcl.in | 1 -
src/machista1.0/libmachista.c | 2 +-
src/macports1.0/Makefile.in | 4 +-
src/macports1.0/diagnose.tcl | 27 +-
src/macports1.0/macports.tcl | 110 +-
src/macports1.0/migrate.tcl | 126 +-
src/macports1.0/reclaim.tcl | 2 +
src/macports1.0/restore.tcl | 25 +-
src/macports1.0/selfupdate.tcl | 5 +-
src/pextlib1.0/Makefile.in | 1 -
src/pextlib1.0/Pextlib.c | 425 +++++-
src/pextlib1.0/Pextlib.h | 13 +-
src/pextlib1.0/adv-flock.c | 6 +-
src/pextlib1.0/curl.c | 8 +-
src/pextlib1.0/filemap.c | 3 +-
src/pextlib1.0/sip_copy_proc.c | 30 +-
src/pextlib1.0/strcasecmp.c | 94 --
src/pextlib1.0/strcasecmp.h | 68 -
src/pextlib1.0/system.c | 2 +-
src/pextlib1.0/tracelib.c | 123 +-
src/pextlib1.0/uid.c | 24 +-
src/pkg_mkindex.sh.in | 2 +-
src/port/port.tcl | 127 +-
src/port/portindex.tcl | 4 +-
src/port1.0/fetch_common.tcl | 15 +-
src/port1.0/port_autoconf.tcl.in | 2 -
src/port1.0/portbuild.tcl | 2 +-
src/port1.0/portchecksum.tcl | 4 +-
src/port1.0/portconfigure.tcl | 37 +-
src/port1.0/portfetch.tcl | 13 +-
src/port1.0/portlint.tcl | 13 +-
src/port1.0/portlivecheck.tcl | 6 +-
src/port1.0/portmain.tcl | 9 +
src/port1.0/portsandbox.tcl | 20 +-
src/port1.0/portstartupitem.tcl | 355 +----
src/port1.0/porttrace.tcl | 4 +-
src/port1.0/portutil.tcl | 23 +-
src/registry2.0/Makefile.in | 2 +-
src/registry2.0/entry.c | 20 +-
src/registry2.0/portuninstall.tcl | 2 +-
src/registry2.0/receipt_flat.tcl | 7 +-
src/registry2.0/receipt_sqlite.tcl | 6 +-
src/registry2.0/registry.tcl | 10 +-
src/registry2.0/snapshot.c | 13 -
tests/test.tcl.in | 1 +
tests/test/setuid/DESCRIPTION | 4 +
tests/test/setuid/Portfile | 31 +
tests/test/setuid/files/test.sh | 8 +
tests/test/{variants => setuid}/test.tcl | 18 +-
vendor/Makefile.in | 3 +
94 files changed, 2314 insertions(+), 3890 deletions(-)
delete mode 100644 doc/exampleport/Portfile
delete mode 100644 src/pextlib1.0/strcasecmp.c
delete mode 100644 src/pextlib1.0/strcasecmp.h
create mode 100644 tests/test/setuid/DESCRIPTION
create mode 100644 tests/test/setuid/Portfile
create mode 100755 tests/test/setuid/files/test.sh
copy tests/test/{variants => setuid}/test.tcl (54%)
More information about the macports-changes
mailing list