Commit Graph

14 Commits

Author SHA1 Message Date
Max Radermacher
560cefae94
Rename FeatureFlags → BuildFlags 2025-10-27 13:27:11 -05:00
Max Radermacher
a689aa21d6
Move around some files in SignalServiceKit 2025-09-15 15:24:13 -05:00
Max Radermacher
02e893a4f3
Add tag & feature flag support files for CI 2025-03-24 12:45:04 -05:00
Max Radermacher
6e44d07800 Update bump_build_tag.py for Xcode Cloud 2024-04-12 16:35:52 -05:00
Max Radermacher
e82928b5e7
Move generated FeatureBuild constant 2024-04-11 12:42:57 -05:00
Max Radermacher
e10faa8593
Remove src/ prefix from SignalServiceKit files 2024-03-27 12:22:52 -05:00
Evan Hahn
e8b4b8f15c Scripts: subprocess.check_output should use text=True for compatibility
In Python 2, `subprocess.check_output` returns a string. In Python 3, it
returns a byte string unless you provide `text=True`.

This makes sure all calls have that option for compatibility.

Also, my editor was auto-formatting these with [Black][0], which I
didn't prevent, so now these files are formatted a little better.

[0]: https://github.com/psf/black
2022-03-24 17:28:12 -05:00
Evan Hahn
1101db6a29 Upgrade scripts to Python 3
Python 2 was [removed from macOS in 12.3][0]. This change:

- Automatically converts many files with [2to3][1]
- Manually updates all [shebangs][2] to use `python3` instead of
  versionless `python` or `python2.7`
- Manually applies a few fixes, many of which were noted by 2to3
- Manually undoes a few fixes that were automatically done by 2to3

[0]: https://www.macrumors.com/2022/01/28/apple-removing-python-2-in-macos-12-3/
[1]: https://docs.python.org/3/library/2to3.html
[2]: https://en.wikipedia.org/wiki/Shebang_(Unix)
2022-03-21 12:58:33 -05:00
Michelle Linington
44b38c27e8 Alert user if specified tag variant doesn't match the current build flag 2021-09-20 12:36:31 -07:00
Michelle Linington
c8c8575c5b PR Feedback
- Avoid accessing `build` in FeatureFlags.swift
- Make it private so others aren't tempted
- Now that build is private, drop the named build variants. It's cute,
  but ultimately not necessary
2021-08-06 10:08:26 -07:00
Michelle Linington
aa25a1e274 Extend error messaging to beta users 2021-08-06 10:08:26 -07:00
Nora Trapp
959b8ca1ae Don't error when FF is already set 2021-06-14 14:13:48 -07:00
Matthew Chen
cbfc7be372 Revisions to payments in SSK. 2021-04-06 13:57:07 -03:00
Matthew Chen
51e05cb6b7 Port feature flag scripts to Python. 2021-04-06 13:57:06 -03:00