Skip to content

fdio: Expose wrappers for renameat2() EXCHANGE and NOREPLACE#36

Closed
cgwalters wants to merge 1 commit intoGNOME:masterfrom
cgwalters:renameat2-wrappers
Closed

fdio: Expose wrappers for renameat2() EXCHANGE and NOREPLACE#36
cgwalters wants to merge 1 commit intoGNOME:masterfrom
cgwalters:renameat2-wrappers

Conversation

@cgwalters
Copy link
Copy Markdown
Member

I want the RENAME_EXCHANGE version for rpm-ostree, to atomically
swap /usr/share/rpm (a directory) with a new verison. While
we're here we might as well expose RENAME_NOREPLACE in case
something else wants it.

These both have fallbacks to the non-atomic version.

cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 2, 2017
WIP due to missing tests and docs.

But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 2, 2017
WIP due to missing tests and docs.

But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
I want the `RENAME_EXCHANGE` version for rpm-ostree, to atomically
swap `/usr/share/rpm` (a directory) with a new verison.  While
we're here we might as well expose `RENAME_NOREPLACE` in case
something else wants it.

These both have fallbacks to the non-atomic version.
@cgwalters cgwalters force-pushed the renameat2-wrappers branch from f25ed93 to 118a759 Compare March 2, 2017 17:34
@cgwalters
Copy link
Copy Markdown
Member Author

Updated 🆕 with tests passing.

@jlebon
Copy link
Copy Markdown
Contributor

jlebon commented Mar 2, 2017

Looks good!

cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 2, 2017
WIP due to missing tests and docs.

But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 11, 2017
WIP due to missing tests and docs.

But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 16, 2017
WIP due to missing tests and docs.

But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 17, 2017
WIP due to missing tests and docs.

But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 18, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 20, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 22, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 22, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 23, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 24, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 27, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Mar 27, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Apr 20, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Apr 26, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Apr 27, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Apr 28, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request Apr 28, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request May 1, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request May 1, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request May 8, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request May 9, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
cgwalters added a commit to cgwalters/rpm-ostree that referenced this pull request May 10, 2017
But I've been playing with this interactively, and it's at a useful place
already. The primary target here is supporting live addition of new packages,
while *also* allowing people to do completely arbitrary replacement if that's
what they want.

Depends:
  GNOME/libglnx#36
  ostreedev/ostree#714

Closes: coreos#639
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.

2 participants