Skip to content

Conversation

@dkz2
Copy link
Contributor

@dkz2 dkz2 commented Aug 24, 2023

This PR addresses the need to align the library with Memcache naming conventions and to remove any unnecessary dependences. This PR closes #39.

Motivation:
To adhere to industry standard naming conventions by renaming types to be memcache i.e without the memcache/d.

Modifications:

  • Renamed all types that were previously prefixed with Memcached to now use Memcahce.
  • Updated README.
  • Removed all use of Foundation.

Results:
With these changes the library is better aligned with Memcache naming conventions, making it more recognizable and idiomatic to the community.

@dkz2 dkz2 marked this pull request as ready for review September 13, 2023 14:54
Package.swift Outdated
dependencies: ["Memcache"]
),
.executableTarget(
name: "swift-memcache-gsoc-example",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename this to MemcacheExample

README.md Outdated

## Getting Started

### Docker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this to a Contributing section. This is not relevant for users of the package.

@@ -12,7 +12,11 @@
//
//===----------------------------------------------------------------------===//

import Foundation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename the file as well

Copy link
Contributor

@FranzBusch FranzBusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last few nits!

@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't commit this

@@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@@ -0,0 +1,104 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here :D

README.md Outdated

### Memcached Connection API

Our `MemcachedConnection` allows for communicate with a Memcached server. This actor takes care of establishing a connection, creating a request stream and handling asynchronous execution of commands.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is now MemcacheConnection right?

@FranzBusch FranzBusch merged commit 14bb69e into swift-server:main Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants