Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
F
FlakeId
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Pleroma
  • Elixir libraries
  • FlakeId
  • Merge Requests
  • !2

Open
Opened Apr 16, 2020 by href@hrefMaintainer8 of 9 tasks completed8/9 tasks
  • Report abuse
Report abuse

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b "harder-better-stronger" "origin/harder-better-stronger"

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "master"
git merge --no-ff "harder-better-stronger"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

[WIP] Various improvements and bugfixes

  • Overview 18
  • Commits 9
  • Pipelines 6
  • Changes 19
  • Implement in-process generation (fixes #2)
  • Backdated flakes (fixes #1)
  • Persist time for backwards detection (fixes #3)
  • Configurable worker strategy (fixes #4)
  • Follow system clock by using os:system_time instead of erlang:system_time (fixes pleroma/pleroma#1681 (closed))
  • Refuse to generate flakes when the clock is not advancing and the sequence overflows
  • Split up building from Worker to a dedicated module Builder
  • Docs improvements
  • tests for local & backdate

BTW I think that once this MR is merged we should release a 1.0, as it's now feature complete and the API won't change.

Edited May 12, 2020 by href
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: pleroma/elixir-libraries/flake_id!2
Source branch: harder-better-stronger