Skip to content

Commit

Permalink
memo: Remove local program / client and point to new repo (#7535)
Browse files Browse the repository at this point in the history
memo: Remove local programs and point to new repo

#### Problem

The memo program and clients now live at their own repo, but the code
still exists in the SPL repo.

#### Summary of changes

* Update documentation for the memo program's new home
* Remove program directory, update Rust dependencies to crates.io version
* Remove JS bindings
* Remove CI files
  • Loading branch information
joncinque authored Dec 2, 2024
1 parent a01480d commit d544111
Show file tree
Hide file tree
Showing 45 changed files with 32 additions and 1,166 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pull-request-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
paths:
- 'account-compression/sdk/**'
- 'libraries/type-length-value/js/**'
- 'memo/js/**'
- 'name-service/js/**'
- 'single-pool/js/**'
- 'stake-pool/js/**'
Expand All @@ -21,7 +20,6 @@ on:
paths:
- 'account-compression/sdk/**'
- 'libraries/type-length-value/js/**'
- 'memo/js/**'
- 'single-pool/js/**'
- 'stake-pool/js/**'
- 'token/js/**'
Expand All @@ -43,7 +41,6 @@ jobs:
node-version: [16.x, 18.x, 20.x]
package:
[
memo,
name-service,
stake-pool,
token,
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/pull-request-memo.yml

This file was deleted.

1 change: 0 additions & 1 deletion Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ solana_version = "2.1.0"
members = [
"governance/program",
"governance/chat/program",
"memo/program",
"stake-pool/program",
"token/program",
"token/program-2022",
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ members = [
"libraries/tlv-account-resolution",
"libraries/type-length-value",
"libraries/type-length-value-derive-test",
"memo/program",
"name-service/program",
"managed-token/program",
"record/program",
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ the Solana Mainnet Beta. Currently, this includes:
| [shared-memory](https://github.com/solana-labs/solana-program-library/tree/master/shared-memory/program) | [1.0.0](https://github.com/solana-labs/solana-program-library/commit/b40e0dd3fd6c0e509dc1e8dd3da0a6d609035bbd) |
| [feature-proposal](https://github.com/solana-labs/solana-program-library/tree/master/feature-proposal/program) | [1.0.0](https://github.com/solana-labs/solana-program-library/releases/tag/feature-proposal-v1.0.0) |
| [name-service](https://github.com/solana-labs/solana-program-library/tree/master/name-service/program) | [0.3.0](https://github.com/solana-labs/solana-program-library/releases/tag/name-service-v0.3.0) |
| [memo](https://github.com/solana-labs/solana-program-library/tree/master/memo/program) | [3.0.0](https://github.com/solana-labs/solana-program-library/releases/tag/memo-v3.0.0) |
| [memo](https://github.com/solana-program/memo/tree/master/program) | [3.0.0](https://github.com/solana-labs/solana-program-library/releases/tag/memo-v3.0.0) |

In addition, one program is planned for deployment to Solana Mainnet Beta:

Expand Down Expand Up @@ -57,7 +57,6 @@ unaudited programs:
* [feature-proposal](https://github.com/solana-labs/solana-program-library/tree/master/feature-proposal/program)
* [instruction-padding](https://github.com/solana-labs/solana-program-library/tree/master/instruction-padding/program)
* [managed-token](https://github.com/solana-labs/solana-program-library/tree/master/managed-token/program)
* [memo](https://github.com/solana-labs/solana-program-library/tree/master/memo/program)
* [name-service](https://github.com/solana-labs/solana-program-library/tree/master/name-service/program)
* [record](https://github.com/solana-labs/solana-program-library/tree/master/record/program)
* [stateless-asks](https://github.com/solana-labs/solana-program-library/tree/master/stateless-asks/program)
Expand All @@ -71,6 +70,13 @@ More information about the repository's security policy at
The [security-audits repo](https://github.com/solana-labs/security-audits) contains
all past and present program audits.

## Migrated Packages

The Solana Program Library repository is being broken up into separate repos for
each program and set of clients. The following programs have been moved:

* [Memo](https://github.com/solana-program/memo)

## Program Packages

| Package | Description | Version | Docs |
Expand All @@ -82,7 +88,6 @@ all past and present program audits.
| `spl-account-compression` | Program for managing compressed accounts stored in an off-chain merkle tree | [![Crates.io](https://img.shields.io/crates/v/spl-account-compression)](https://crates.io/crates/spl-account-compression) | [![Docs.rs](https://docs.rs/spl-account-compression/badge.svg)](https://docs.rs/spl-account-compression) |
| `spl-feature-proposal` | Program using tokens to vote on enabling Solana network features | [![Crates.io](https://img.shields.io/crates/v/spl-feature-proposal)](https://crates.io/crates/spl-feature-proposal) | [![Docs.rs](https://docs.rs/spl-feature-proposal/badge.svg)](https://docs.rs/spl-feature-proposal) |
| `spl-noop` | Program that does nothing, used for logging instruction data | [![Crates.io](https://img.shields.io/crates/v/spl-noop)](https://crates.io/crates/spl-noop) | [![Docs.rs](https://docs.rs/spl-noop/badge.svg)](https://docs.rs/spl-noop) |
| `spl-memo` | Program for logging signed memos on-chain | [![Crates.io](https://img.shields.io/crates/v/spl-memo)](https://crates.io/crates/spl-memo) | [![Docs.rs](https://docs.rs/spl-memo/badge.svg)](https://docs.rs/spl-memo) |
| `spl-name-service` | Program for managing ownership of data on-chain | [![Crates.io](https://img.shields.io/crates/v/spl-name-service)](https://crates.io/crates/spl-name-service) | [![Docs.rs](https://docs.rs/spl-name-service/badge.svg)](https://docs.rs/spl-name-service) |
| `spl-shared-memory` | Program for sharing data between programs | [![Crates.io](https://img.shields.io/crates/v/spl-shared-memory)](https://crates.io/crates/spl-shared-memory) | [![Docs.rs](https://docs.rs/spl-shared-memory/badge.svg)](https://docs.rs/spl-shared-memory) |
| `spl-stake-pool` | Program for pooling stake accounts, managed by another entity | [![Crates.io](https://img.shields.io/crates/v/spl-stake-pool)](https://crates.io/crates/spl-stake-pool) | [![Docs.rs](https://docs.rs/spl-stake-pool/badge.svg)](https://docs.rs/spl-stake-pool) |
Expand Down Expand Up @@ -110,7 +115,6 @@ all past and present program audits.
| `@solana/spl-token` | Bindings for the token, token-2022, and associated-token-account programs | [![npm](https://img.shields.io/npm/v/@solana/spl-token.svg)](https://www.npmjs.com/package/@solana/spl-token) | [![Docs](https://img.shields.io/badge/docs-typedoc-blue)](https://solana-labs.github.io/solana-program-library/token/js) |
| `@solana/spl-governance` | Bindings for the governance program | [![npm](https://img.shields.io/npm/v/@solana/spl-governance.svg)](https://www.npmjs.com/package/@solana/spl-governance) | N/A |
| `@solana/spl-account-compression` | Bindings for the account-compression program | [![npm](https://img.shields.io/npm/v/@solana/spl-account-compression.svg)](https://www.npmjs.com/package/@solana/spl-account-compression) | [![Docs](https://img.shields.io/badge/docs-typedoc-blue)](https://solana-labs.github.io/solana-program-library/account-compression/sdk/docs) |
| `@solana/spl-memo` | Bindings for the memo program | [![npm](https://img.shields.io/npm/v/@solana/spl-memo.svg)](https://www.npmjs.com/package/@solana/spl-memo) | N/A |
| `@solana/spl-name-service` | Bindings for the name-service program | [![npm](https://img.shields.io/npm/v/@solana/spl-name-service.svg)](https://www.npmjs.com/package/@solana/spl-name-service) | N/A |
| `@solana/spl-stake-pool` | Bindings for the stake-pool program | [![npm](https://img.shields.io/npm/v/@solana/spl-stake-pool.svg)](https://www.npmjs.com/package/@solana/spl-stake-pool) | N/A |
| `@solana/spl-token-lending` | Bindings for the token-lending program | [![npm](https://img.shields.io/npm/v/@solana/spl-token-lending.svg)](https://www.npmjs.com/package/@solana/spl-token-lending) | N/A |
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ the Solana Mainnet Beta. Currently, this includes:
* [associated-token-account](https://github.com/solana-labs/solana-program-library/tree/master/associated-token-account/program)
* [feature-proposal](https://github.com/solana-labs/solana-program-library/tree/master/feature-proposal/program)
* [governance](https://github.com/solana-labs/solana-program-library/tree/master/governance/program)
* [memo](https://github.com/solana-labs/solana-program-library/tree/master/memo/program)
* [memo](https://github.com/solana-program/memo)
* [name-service](https://github.com/solana-labs/solana-program-library/tree/master/name-service/program)
* [stake-pool](https://github.com/solana-labs/solana-program-library/tree/master/stake-pool/program)
* [token](https://github.com/solana-labs/solana-program-library/tree/master/token/program)
Expand Down
14 changes: 0 additions & 14 deletions ci/js-test-memo.sh

This file was deleted.

1 change: 0 additions & 1 deletion coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ reportName="lcov-${CI_COMMIT:0:9}"
if [[ -z $1 ]]; then
programs=(
libraries/math
memo/program
token/program
token-lending/program
token-swap/program
Expand Down
2 changes: 1 addition & 1 deletion docs/src/memo.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ document are available at:
## Source

The Memo Program's source is available on
[GitHub](https://github.com/solana-labs/solana-program-library)
[GitHub](https://github.com/solana-program/memo)

## Interface

Expand Down
3 changes: 3 additions & 0 deletions memo/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
NOTE: The memo program and clients are now maintained at
[solana-program/memo](https://github.com/solana-program/memo).

# Memo Program

A simple program that validates a string of UTF-8 encoded characters and logs it
Expand Down
9 changes: 0 additions & 9 deletions memo/js/.editorconfig

This file was deleted.

5 changes: 0 additions & 5 deletions memo/js/.eslintignore

This file was deleted.

32 changes: 0 additions & 32 deletions memo/js/.eslintrc

This file was deleted.

13 changes: 0 additions & 13 deletions memo/js/.gitignore

This file was deleted.

Empty file removed memo/js/.nojekyll
Empty file.
Loading

0 comments on commit d544111

Please sign in to comment.