Skip to content
Snippets Groups Projects
  1. Nov 09, 2023
    • Igor Drozdov's avatar
      Make snippet creation resilient to replication lag · 51c0904a
      Igor Drozdov authored
      When a snippet is being created, it inserts a record in the
      database and then performs a Gitaly call to create Git data.
      
      The Gitaly call performs HTTP request for permission check and
      if replication lag takes place, those HTTP calls may try fetching
      data from a replica that is not up-to-date yet.
      
      This commit:
      
      - Sticks to primary before performing the Gitaly call
      - Make the internal API requests aware of the sticking
      
      Changelog: fixed
      Verified
      51c0904a
  2. Aug 30, 2023
    • Patrick Steinhardt's avatar
      spec/snippet: Don't consider dot author as cruft anymore · c1137e28
      Patrick Steinhardt authored
      Git considers specific characters part of the author and committer
      signature as "cruft" that is to be stripped or disallowed. The rules of
      what is considered a cruft character has changed in Git v2.42.0 though
      to not include the dot (".") anymore. One test for snippet repositories
      still relies on that behaviour though.
      
      Adapt the test to a different character that Git still considers as
      cruft.
      c1137e28
  3. Jun 13, 2023
  4. Dec 02, 2022
  5. Sep 12, 2022
  6. Sep 20, 2021
  7. Jun 29, 2021
  8. Feb 19, 2021
  9. Oct 06, 2020
  10. Sep 28, 2020
  11. Sep 16, 2020
  12. Aug 06, 2020
  13. Jun 23, 2020
  14. May 29, 2020
  15. May 11, 2020
  16. May 06, 2020
  17. Mar 25, 2020
  18. Mar 21, 2020
  19. Mar 11, 2020
  20. Mar 09, 2020
  21. Mar 06, 2020
    • Francisco Javier López's avatar
      Import/export snippet repositories · aefba81a
      Francisco Javier López authored
      When the snippet has a repository attached,
      the export file will create a bundle per each
      one.
      
      When we restore the export file, if the snippet has
      a repository, we will import it from the bundle.
      If not, we will create a repository from the
      snippet file_name and content columns.
      Verified
      aefba81a
  22. Feb 28, 2020
  23. Feb 12, 2020
Loading