Skip to content

Commit cca7e02

Browse files
authored
Merge pull request #248 from adobe-apiplatform/v2
prepare for 2.2rc2 build
2 parents d1f1513 + 0dc67bf commit cca7e02

14 files changed

+154
-89
lines changed

Makefile

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,27 @@
1-
USE_MISC_BUILD := no
2-
RM := rm -rf
1+
output_dir = dist
2+
output_filename = user-sync
3+
prebuilt_dir = external
34

45
ifeq ($(OS),Windows_NT)
56
output_file_extension = .pex
67
rm_path := $(shell python -c "import distutils.spawn; print(distutils.spawn.find_executable('rm'))")
78
ifeq ($(rm_path),None)
89
RM := rmdir /S /Q
910
endif
10-
python_arch := $(shell python -c "import platform; print platform.architecture()[0]")
11-
ifeq ($(python_arch),64bit)
12-
misc_build_location := misc/build/Win64/
13-
USE_MISC_BUILD := yes
14-
endif
11+
else
12+
output_file_extension = ""
13+
RM := rm -rf
1514
endif
1615

17-
output_dir = dist
18-
output_filename = user-sync
19-
2016
pex:
2117
pip install --upgrade pip
22-
pip install pex requests wheel
18+
pip install --upgrade wheel pex
2319
-$(RM) $(output_dir)
24-
ifeq ($(USE_MISC_BUILD),yes)
25-
pex \
26-
-v -o $(output_dir)/$(output_filename)$(output_file_extension) -m user_sync.app \
27-
-f $(misc_build_location) \
20+
pex -v -o $(output_dir)/$(output_filename)$(output_file_extension) -m user_sync.app \
21+
-f $(prebuilt_dir) \
2822
--disable-cache \
2923
--not-zip-safe .
3024
-$(RM) wheelhouse
31-
else
32-
pex \
33-
-v -o $(output_dir)/$(output_filename)$(output_file_extension) -m user_sync.app \
34-
--disable-cache \
35-
--not-zip-safe .
36-
endif
3725

3826
test:
3927
nosetests --no-byte-compile tests

README.md

Lines changed: 126 additions & 54 deletions
Large diffs are not rendered by default.

RELEASE_NOTES.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
1-
# Release Notes for User Sync Tool Version 2.1.1
1+
# Release Notes for User Sync Tool Version 2.2
22

3-
These notes apply to v2.2rc1 of 2017-06-18.
3+
These notes apply to v2.2rc2 of 2017-06-26.
44

55
## New Features
66

7-
[#52](https://github.com/adobe-apiplatform/user-sync.py/issues/235): This release runs on both Python 2 and Python 3 (2.7, 3.4, 3.5, and 3.6 to be precise)!
7+
[#52](https://github.com/adobe-apiplatform/user-sync.py/issues/52): This release runs on both Python 2 and Python 3 (2.7, 3.4, 3.5, and 3.6 to be precise)!
88

9-
[#234](https://github.com/adobe-apiplatform/user-sync.py/issues/234): There are new UMAPI configuration settings (`timeout` and `retries` in the `server` section) to control the network behavior when talking to the UMAPI server. The default timeout of 120 seconds and the default retry count of 3 are unchanged.
10-
11-
[#182](https://github.com/adobe-apiplatform/user-sync.py/issues/182): At long last, you can select users in nested groups. The new implementation also allows us to avoid fetching the entire directory when the users are only supposed to come from specific groups, as with `--users mapped` ([#129](https://github.com/adobe-apiplatform/user-sync.py/issues/129).
9+
[#182](https://github.com/adobe-apiplatform/user-sync.py/issues/182): At long last, you can select users in nested groups. The new implementation also allows us to avoid fetching the entire directory when the users are only supposed to come from specific groups, as with `--users mapped` ([#129](https://github.com/adobe-apiplatform/user-sync.py/issues/129)). There is a new LDAP setting `group_member_filter_format` which controls how users are selected for groups (default is the backward-compatible immediate members only).
1210

1311
[#236](https://github.com/adobe-apiplatform/user-sync.py/issues/236): Directory users can now be pushed directly to Adobe, rather than synchronized with a fetch of Adobe users. A new command-line argument `--strategy push` (as opposed to the default `--strategy sync`) controls this.
1412

13+
[#234](https://github.com/adobe-apiplatform/user-sync.py/issues/234): There are new UMAPI configuration settings (`timeout` and `retries` in the `server` section) to control the network behavior when talking to the UMAPI server. The default timeout of 120 seconds and the default retry count of 3 are unchanged.
14+
1515
[#237](https://github.com/adobe-apiplatform/user-sync.py/issues/237): The default encoding for all inputs (config files, CSV files, LDAP attribute values) is now assumed to be `utf8` rather than ASCII. This is a backward-compatible change that makes it unnecessary (but still allowed) to specify `utf8` explicitly.
1616

1717
## Bug Fixes
1818

19-
This release contains bug fixes for:
19+
[#227](https://github.com/adobe-apiplatform/user-sync.py/issues/227): crashes due to bad user keys.
20+
21+
[#233](https://github.com/adobe-apiplatform/user-sync.py/issues/233): exceptions in LDAP connections are handled gracefully, as are keyboard interrupts.
22+
23+
[#235](https://github.com/adobe-apiplatform/user-sync.py/issues/235): crash if Adobe ID user has no username or domain info.
24+
25+
[#240](https://github.com/adobe-apiplatform/user-sync.py/issues/240): When using the LDAP connector, the domain of each user is now correctly defaulted to the email domain.
26+
27+
[#244](https://github.com/adobe-apiplatform/user-sync.py/issues/244): The build instructions are now provided for all platforms, and the default `Makefile` allows for the use of pre-compiled, platform-specific wheels.
2028

21-
* [#227](https://github.com/adobe-apiplatform/user-sync.py/issues/227): crashes due to bad user keys.
22-
* [#235](https://github.com/adobe-apiplatform/user-sync.py/issues/235): crash if Adobe ID user has no username or domain info.
23-
* [#233](https://github.com/adobe-apiplatform/user-sync.py/issues/233): exceptions in LDAP connections are handled gracefully, as are keyboard interrupts.
29+
[#247](https://github.com/adobe-apiplatform/user-sync.py/issues/247): There is no more use of the `uid` attribute in LDAP directories.
2430

2531
## Compatibility with Prior Versions
2632

0 commit comments

Comments
 (0)