Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topic:mirror-generator-modernize #81

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

lifehackerhansol
Copy link
Contributor

Note this PR contains a cherry-pick from #51 (with a commit message overhaul).

lifehackerhansol and others added 2 commits May 27, 2024 17:27
- Import `re`
- No bare `except`
- Space before colon in lambda

Signed-off-by: Han Sol Jin <[email protected]>
@lifehackerhansol
Copy link
Contributor Author

mmm, should I be signing off the cherry-picked commit too?

lifehackerhansol and others added 3 commits May 27, 2024 20:20
- `filepath` and `filename` are the same thing, just use `filename`
- `BASE_PATH` and `FILE_BASE` are the same thing, just use `BASE_PATH`
- Account for possibility that `BASE_PATH` may not have a trailing
  slash

Signed-off-by: Han Sol Jin <[email protected]>
Since Oreo, there is no `system/build.prop`, it is packaged into
`system.new.dat`. So timestamp generation hasn't worked for years now.

The OTA metadata on the other hand stores this timestamp (called
`post-timestamp`), so let's parse that instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant