Skip to content

Commit

Permalink
Update all references to the GitHub organization: amzn -> amazon-ion
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Jan 19, 2023
1 parent f16ab29 commit 59e2a84
Show file tree
Hide file tree
Showing 79 changed files with 184 additions and 184 deletions.
2 changes: 1 addition & 1 deletion .github/actions/inspect-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ description: >
GITHUB_TOKEN: $\{{ secrets.GITHUB_TOKEN }}
with:
project_version: $\{{ env.PROJECT_VERSION }}
repo: amzn/ion-java
repo: amazon-ion/ion-java
fail_if_invalid: true
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Checkout ion-java-benchmark-cli
uses: actions/checkout@v2
with:
repository: amzn/ion-java-benchmark-cli
repository: amazon-ion/ion-java-benchmark-cli
ref: master
path: ion-java-benchmark-cli

Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Checkout the current commit
uses: actions/checkout@v2
with:
repository: amzn/ion-java
repository: amazon-ion/ion-java
ref: master
path: ion-java

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ion-test-driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
- name: Checkout ion-java
uses: actions/checkout@master
with:
repository: amzn/ion-java
repository: amazon-ion/ion-java
ref: master
path: ion-java

- name: Checkout ion-test-driver
uses: actions/checkout@master
with:
repository: amzn/ion-test-driver
repository: amazon-ion/ion-test-driver
ref: master
path: ion-test-driver

Expand All @@ -36,7 +36,7 @@ jobs:
- name: Run ion-test-driver
run: python3 ion-test-driver/amazon/iontest/ion_test_driver.py -o output
-i ion-java,${{ github.event.pull_request.head.repo.html_url }},${{ github.event.pull_request.head.sha }}
--replace ion-java,https://github.com/amzn/ion-java.git,$main
--replace ion-java,https://github.com/amazon-ion/ion-java.git,$main

- name: Upload result
uses: actions/upload-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# Ensures that the version is not a release (i.e. -SNAPSHOT) or if it is a release version,
# ensures that the version is a later version number than the existing releases.
# See limitations at:
# https://github.com/amzn/ion-java/blob/master/.github/actions/inspect-version/action.yml
# https://github.com/amazon-ion/ion-java/blob/master/.github/actions/inspect-version/action.yml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -49,6 +49,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
repo: amzn/ion-java
repo: amazon-ion/ion-java
project_version: ${{ env.PROJECT_VERSION }}
fail_if_invalid: true
8 changes: 4 additions & 4 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#
# If the project/library version is not a snapshot version, and it is greater than the
# latest release in GitHub, then it creates a draft PR for the new library version.
# This workflow always compares against the releases in amzn/ion-java, but will create
# This workflow always compares against the releases in amazon-ion/ion-java, but will create
# a draft release in a forked repository if the workflow is triggered in a fork.
# See limitations at:
# https://github.com/amzn/ion-java/blob/master/.github/actions/inspect-version/action.yml
# https://github.com/amazon-ion/ion-java/blob/master/.github/actions/inspect-version/action.yml
#
# This workflow is almost a reusable workflow that can be used by any of our repos that
# use semantic versioned releases. In order to make it reusable, we need to move it to
Expand All @@ -16,7 +16,7 @@
# pass in the library version as a workflow argument, or it will need to have the
# `project.version` file. Also, there are some references to the 'master' branch that
# will need to be factored out (since some of our repos use 'main' as the default branch).
# Finally, there are references to "amzn/ion-java" should come from an input variable
# Finally, there are references to "amazon-ion/ion-java" should come from an input variable
# or be retrieved from the GitHub Actions context.
# See https://docs.github.com/en/actions/using-workflows/reusing-workflows
#
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
repo: amzn/ion-java
repo: amazon-ion/ion-java
project_version: ${{ env.PROJECT_VERSION }}
- run: |
echo "Result: ${{ toJSON(steps.inspect.outputs) }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-inspect-version-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
repo: amzn/ion-java
repo: amazon-ion/ion-java
project_version: ${{ matrix.version }}
fail_if_invalid: ${{ matrix.fail_if_invalid }}

Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "ion-tests"]
path = ion-tests
url = https://github.com/amzn/ion-tests.git
url = https://github.com/amazon-ion/ion-tests.git
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ information to effectively respond to your bug report or contribution.

We welcome you to use the GitHub issue tracker to report bugs or suggest features.

When filing an issue, please check [existing open](https://github.com/amzn/ion-java/issues), or [recently closed](https://github.com/amzn/ion-java/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
When filing an issue, please check [existing open](https://github.com/amazon-ion/ion-java/issues), or [recently closed](https://github.com/amazon-ion/ion-java/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:

* A reproducible test case or series of steps
Expand Down Expand Up @@ -41,7 +41,7 @@ GitHub provides additional document on [forking a repository](https://help.githu


## Finding contributions to work on
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/amzn/ion-java/labels/help%20wanted) issues is a great place to start.
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/amazon-ion/ion-java/labels/help%20wanted) issues is a great place to start.


## Code of Conduct
Expand All @@ -56,6 +56,6 @@ If you discover a potential security issue in this project we ask that you notif

## Licensing

See the [LICENSE](https://github.com/amzn/ion-java/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
See the [LICENSE](https://github.com/amazon-ion/ion-java/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Amazon Ion Java
A Java implementation of the [Ion data notation](http://amzn.github.io/ion-docs).
A Java implementation of the [Ion data notation](https://amazon-ion.github.io/ion-docs).

[![Build Status](https://travis-ci.org/amzn/ion-java.svg?branch=master)](https://travis-ci.org/amzn/ion-java)
[![Build Status](https://travis-ci.org/amazon-ion/ion-java.svg?branch=master)](https://travis-ci.org/amazon-ion/ion-java)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.amazon.ion/ion-java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.amazon.ion/ion-java)
[![Javadoc](https://javadoc-badge.appspot.com/com.amazon.ion/ion-java.svg?label=javadoc)](http://www.javadoc.io/doc/com.amazon.ion/ion-java)

Expand All @@ -13,7 +13,7 @@ The easiest way to clone the `ion-java` repository and initialize its `ion-tests
submodule is to run the following command.

```
$ git clone --recursive https://github.com/amzn/ion-java.git ion-java
$ git clone --recursive https://github.com/amazon-ion/ion-java.git ion-java
```

Alternatively, the submodule may be initialized independently from the clone
Expand Down
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ tasks {

/**
* This task creates a properties file that will be included in the compiled jar. It contains information about
* the build/version of the library used in [com.amazon.ion.util.JarInfo]. See https://github.com/amzn/ion-java/pull/433
* the build/version of the library used in [com.amazon.ion.util.JarInfo]. See https://github.com/amazon-ion/ion-java/pull/433
* for why this is done with a properties file rather than the Jar manifest.
*/
val generateJarInfo by creating<Task> {
Expand Down Expand Up @@ -124,7 +124,7 @@ publishing {
pom {
name.set("Ion Java")
description.set(project.description)
url.set("https://github.com/amzn/ion-java/")
url.set("https://github.com/amazon-ion/ion-java/")

licenses {
license {
Expand All @@ -141,9 +141,9 @@ publishing {
}
}
scm {
connection.set("scm:git:[email protected]:amzn/ion-java.git")
developerConnection.set("scm:git:[email protected]:amzn/ion-java.git")
url.set("[email protected]:amzn/ion-java.git")
connection.set("scm:git:[email protected]:amazon-ion/ion-java.git")
developerConnection.set("scm:git:[email protected]:amazon-ion/ion-java.git")
url.set("[email protected]:amazon-ion/ion-java.git")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion ion-java-cli/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Amazon Ion Java CLI
A Java implementation of CLI where its design document is located in [here](https://github.com/amzn/ion-test-driver#design).
A Java implementation of CLI where its design document is located in [here](https://github.com/amazon-ion/ion-test-driver#design).

The package is stored under `ion-java/ion-java-cli`.

Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/IonCatalog.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
* Binary <em>decoding</em> prefers an exact match, and in a couple edge cases,
* requires it. Therefore a single "get latest version" method is insufficient.
* See the
* <a href="http://amzn.github.io/ion-docs/docs/symbols.html">Ion Symbols page</a>
* <a href="https://amazon-ion.github.io/ion-docs/docs/symbols.html">Ion Symbols page</a>
* for more details on this topic.
* <p>
* It's expected that many if not most applications will implement a dynamic
Expand Down
16 changes: 8 additions & 8 deletions src/com/amazon/ion/IonDatagram.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,46 +42,46 @@ public interface IonDatagram
/**
* This inherited method is not yet supported by datagrams.
* <p>
* Vote for issue amzn/ion-java/issues/48 if you need this.
* Vote for issue amazon-ion/ion-java/issues/48 if you need this.
*
* @throws UnsupportedOperationException at every call.
*
* @see <a href="https://github.com/amzn/ion-java/issues/48">amzn/ion-java/issues/48</a>
* @see <a href="https://github.com/amazon-ion/ion-java/issues/48">amazon-ion/ion-java/issues/48</a>
*/
public void add(int index, IonValue element)
throws ContainedValueException, NullPointerException;

/**
* This inherited method is not yet supported by datagrams.
* <p>
* Vote for issue amzn/ion-java/issues/48 if you need this.
* Vote for issue amazon-ion/ion-java/issues/48 if you need this.
*
* @throws UnsupportedOperationException at every call.
*
* @see <a href="https://github.com/amzn/ion-java/issues/48">amzn/ion-java/issues/48</a>
* @see <a href="https://github.com/amazon-ion/ion-java/issues/48">amazon-ion/ion-java/issues/48</a>
*/
public ValueFactory add(int index)
throws ContainedValueException, NullPointerException;

/**
* This inherited method is not yet supported by datagrams.
* <p>
* Vote for issue amzn/ion-java/issues/47 if you need this.
* Vote for issue amazon-ion/ion-java/issues/47 if you need this.
*
* @throws UnsupportedOperationException at every call.
*
* @see <a href="https://github.com/amzn/ion-java/issues/47">amzn/ion-java/issues/47</a>
* @see <a href="https://github.com/amazon-ion/ion-java/issues/47">amazon-ion/ion-java/issues/47</a>
*/
public boolean addAll(int index, Collection<? extends IonValue> c);

/**
* This inherited method is not yet supported by datagrams.
* <p>
* Vote for issue amzn/ion-java/issues/50 if you need this.
* Vote for issue amazon-ion/ion-java/issues/50 if you need this.
*
* @throws UnsupportedOperationException at every call.
*
* @see <a href="https://github.com/amzn/ion-java/issues/50">amzn/ion-java/issues/50</a>
* @see <a href="https://github.com/amazon-ion/ion-java/issues/50">amazon-ion/ion-java/issues/50</a>
*/
public IonValue set(int index, IonValue element);

Expand Down
4 changes: 2 additions & 2 deletions src/com/amazon/ion/IonReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* <b>WARNING:</b> This interface should not be implemented or extended by
* code outside of this library.
* We still have some work to do before this interface is stable.
* See <a href="https://github.com/amzn/ion-java/issues/11">issue amzn/ion-java/issues/11</a>
* See <a href="https://github.com/amazon-ion/ion-java/issues/11">issue amazon-ion/ion-java/issues/11</a>
* <p>
* An {@code IonReader} has a "cursor" tracking the <em>current value</em> on
* which the reader is positioned. Generally, newly created readers are not
Expand Down Expand Up @@ -88,7 +88,7 @@
* <h3>The {@link SeekableReader} Facet</h3>
* This facet is available on all readers <em>except</em> those created from
* an {@link java.io.InputStream InputStream}.
* (See <a href="https://github.com/amzn/ion-java/issues/17">issue amzn/ion-java/issues/17</a>.)
* (See <a href="https://github.com/amazon-ion/ion-java/issues/17">issue amazon-ion/ion-java/issues/17</a>.)
* It allows the user to reposition the reader to a {@link Span} over the
* same reader instance or another reader with the same source.
*
Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/IonSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public SymbolTable getSystemSymbolTable(String ionVersionId)
* or if any but the first is a system table.
* @throws NullPointerException if any import is null.
*/
// TODO amzn/ion-java/issues/38 Should we allow substituted imports as valid args?
// TODO amazon-ion/ion-java/issues/38 Should we allow substituted imports as valid args?
public SymbolTable newLocalSymbolTable(SymbolTable... imports);


Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/IonTimestamp.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
public interface IonTimestamp
extends IonValue
{
// TODO amzn/ion-java/issues/223 Deprecate setters and getters
// TODO amazon-ion/ion-java/issues/223 Deprecate setters and getters

/**
* Gets the value of this <code>timestamp</code> in a form suitable for
Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/SubstituteSymbolTableException.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* @see SymbolTable#isSubstitute()
*/
// TODO amzn/ion-java/issues/40 Provide some useful info to assist callers with handling this
// TODO amazon-ion/ion-java/issues/40 Provide some useful info to assist callers with handling this
// exception. E.g. reference to the substitute import in violation.
public class SubstituteSymbolTableException
extends IonException
Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/SymbolTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* <b>Implementations of this interface are safe for use by multiple
* threads.</b>
*
* @see <a href="http://amzn.github.io/ion-docs/docs/symbols.html">Ion Symbols page</a>
* @see <a href="https://amazon-ion.github.io/ion-docs/docs/symbols.html">Ion Symbols page</a>
*/
public interface SymbolTable
{
Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/Timestamp.java
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ private static IllegalArgumentException fail(CharSequence input)
* @return
* {@code null} if the {@code CharSequence} is "null.timestamp"
*
* @see <a href="http://amzn.github.io/ion-docs/docs/spec.html#timestamp">Ion Timestamp Page</a>
* @see <a href="https://amazon-ion.github.io/ion-docs/docs/spec.html#timestamp">Ion Timestamp Page</a>
* @see <a href="http://www.w3.org/TR/NOTE-datetime">W3C Note on Date and Time Formats</a>
*/
public static Timestamp valueOf(CharSequence ionFormattedTimestamp)
Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/impl/ImportLocation.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* in a shared symbol table.
* NOTE: this is currently not publicly accessible, but it is an important step toward being able to correctly
* round-trip symbols with unknown text from shared symbol tables in different symbol table contexts. See
* https://github.com/amzn/ion-java/issues/126 . Support is added now to avoid risking the appearance of performance
* https://github.com/amazon-ion/ion-java/issues/126 . Support is added now to avoid risking the appearance of performance
* degradation if ImportLocation support were added after initial release of the incremental IonReader.
*/
class ImportLocation {
Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/impl/IonBinary.java
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ public static int lenAnnotationListWithLen(String[] annotations,
// add up the length of the encoded symbols
for (int ii=0; ii<annotations.length; ii++) {
int symid = symbolTable.findSymbol(annotations[ii]);
assert symid > 0; // TODO amzn/ion-java/issues/12
assert symid > 0; // TODO amazon-ion/ion-java/issues/12
annotationLen += IonBinary.lenVarUInt(symid);
}

Expand Down
10 changes: 5 additions & 5 deletions src/com/amazon/ion/impl/IonReaderBinaryRawX.java
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ else if (tid == _Private_IonConstants.tidStruct) {
// the value BEFORE a *Value() method is even called. Once that is fixed,
// _value_start can be removed, and _input._pos can be used to find the
// start of the value at the current valid position.
// amzn/ion-java/issues/88 tracks the fix for bringing IVM handling up to
// amazon-ion/ion-java/issues/88 tracks the fix for bringing IVM handling up to
// spec.
_value_start = start_of_value;
_position_len = len + (start_of_value - start_of_tid);
Expand Down Expand Up @@ -968,7 +968,7 @@ private int readVarInt(int firstByte) throws IOException {
// into a Java int.
// To validate overflows we accumulate the VarInt in a long and then check if it can be represented by an int
//
// see http://amzn.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields
// see https://amazon-ion.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields

long retValue = 0;
int b = firstByte;
Expand Down Expand Up @@ -1003,7 +1003,7 @@ private int readVarInt(int firstByte) throws IOException {
retValue = (retValue << 7) | (b & 0x7F);
if ((b & 0x80) != 0) break;

// Don't support anything above a 5-byte VarInt for now, see https://github.com/amzn/ion-java/issues/146
// Don't support anything above a 5-byte VarInt for now, see https://github.com/amazon-ion/ion-java/issues/146
throwVarIntOverflowException(5);
}

Expand Down Expand Up @@ -1036,7 +1036,7 @@ protected final long readVarUIntOrEOF(boolean longAllowed) throws IOException
// into a Java int.
// To validate overflows we accumulate the VarInt in a long and then check if it can be represented by an int
//
// see http://amzn.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields
// see https://amazon-ion.github.io/ion-docs/docs/binary.html#varuint-and-varint-fields

long retvalue = 0;
int b;
Expand Down Expand Up @@ -1071,7 +1071,7 @@ protected final long readVarUIntOrEOF(boolean longAllowed) throws IOException
retvalue = (retvalue << 7) | (b & 0x7F);
if ((b & 0x80) != 0) break;

// Don't support anything above a 7-byte VarUInt for now, see https://github.com/amzn/ion-java/issues/146
// Don't support anything above a 7-byte VarUInt for now, see https://github.com/amazon-ion/ion-java/issues/146
throwVarIntOverflowException(7);
}

Expand Down
2 changes: 1 addition & 1 deletion src/com/amazon/ion/impl/IonReaderBinarySystemX.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class IonReaderBinarySystemX
{
super();
init_raw(in);
// TODO check IVM to determine version: amzn/ion-java#19, amzn/ion-java#24
// TODO check IVM to determine version: amazon-ion/ion-java#19, amazon-ion/ion-java#24
_symbols = SharedSymbolTable.getSystemSymbolTable(1);
}

Expand Down
Loading

0 comments on commit 59e2a84

Please sign in to comment.