Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs file fixes, link updates #4362

Merged
merged 3 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Liquibase system requirements can be found on the [Download Liquibase](https://w
6. Run the `liquibase update` command.
7. Run the `liquibase history` command to see what has executed!

See also how to [get started with Liquibase in minutes](https://www.liquibase.org/get-started/quickstart) or refer to our [Installing Liquibase](https://docs.liquibase.com/install/home.html) documentation page for more details.
See also how to [get started with Liquibase in minutes](https://www.liquibase.org/get-started/quickstart) or refer to our [Installing Liquibase](https://docs.liquibase.com/start/install/home.html) documentation page for more details.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion liquibase-dist/src/main/archive/GETTING_STARTED.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ as defined by the changelog script.
The DATABASECHANGELOG and DATABASECHANGELOGLOCK tables are liquibase-metadata tables.
Also, the changelog created the COMPANY and PERSON tables.

Now, open the sample.changelog.xml or samplechangelog.h2.sql file in your favorite
Now, open the `example-changelog.xml` or `example-changelog.sql` file in your favorite
text editor.

In each file, you can see how changes were defined as a series of changeSets. Each
Expand Down
2 changes: 1 addition & 1 deletion liquibase-dist/src/main/archive/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ As Liquibase ships with an h2 database example, the h2 jdbc driver was placed in
your chosen installation directory.

For information on using and configuring the h2 database see:
https://docs.liquibase.com/install/tutorials/h2.html
https://contribute.liquibase.com/extensions-integrations/directory/database-tutorials/h2/


Open JDK
Expand Down
2 changes: 1 addition & 1 deletion liquibase-standard/src/main/java/liquibase/Contexts.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* migration run. Any string can be used for the context name and they are checked case-insensitively.
* </p>
*
* @see <a href="https://docs.liquibase.com/concepts/advanced/contexts.html" target="_top">contexts</a> in documentation
* @see <a href="https://docs.liquibase.com/concepts/changelogs/attributes/contexts.html" target="_top">contexts</a> in documentation
*/
public class Contexts {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* name, and it is case-insensitive.
* </p>
*
* @see <a href="https://docs.liquibase.com/concepts/advanced/labels.html" target="_top">labels</a> in documentation
* @see <a href="https://docs.liquibase.com/concepts/changelogs/attributes/labels.html" target="_top">labels</a> in documentation
*/
public class LabelExpression {

Expand Down
6 changes: 3 additions & 3 deletions liquibase-standard/src/main/java/liquibase/Liquibase.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public ResourceAccessor getResourceAccessor() {
/**
* Convenience method for {@link #update(Contexts)} that runs in "no context mode".
*
* @see <a href="https://docs.liquibase.com/concepts/advanced/contexts.html" target="_top">contexts</a> in documentation
* @see <a href="https://docs.liquibase.com/concepts/changelogs/attributes/contexts.html" target="_top">contexts</a> in documentation
*/
@Deprecated
public void update() throws LiquibaseException {
Expand All @@ -165,7 +165,7 @@ public void update() throws LiquibaseException {
* Convenience method for {@link #update(Contexts)} that constructs the Context object from the passed string.
* To run in "no context mode", pass a null or empty "".
*
* @see <a href="https://docs.liquibase.com/concepts/advanced/contexts.html" target="_top">contexts</a> in documentation
* @see <a href="https://docs.liquibase.com/concepts/changelogs/attributes/contexts.html" target="_top">contexts</a> in documentation
*/
@Deprecated
public void update(String contexts) throws LiquibaseException {
Expand All @@ -176,7 +176,7 @@ public void update(String contexts) throws LiquibaseException {
* Executes Liquibase "update" logic which ensures that the configured {@link Database} is up to date according to
* the configured changelog file. To run in "no context mode", pass a null or empty context object.
*
* @see <a href="https://docs.liquibase.com/concepts/advanced/contexts.html" target="_top">contexts</a> in documentation
* @see <a href="https://docs.liquibase.com/concepts/changelogs/attributes/contexts.html" target="_top">contexts</a> in documentation
*/
@Deprecated
public void update(Contexts contexts) throws LiquibaseException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class GenerateChangelogCommandStep extends AbstractCommandStep {

private static final String INFO_MESSAGE =
"BEST PRACTICE: When generating formatted SQL changelogs, always check if the 'splitStatements' attribute" + System.lineSeparator() +
"works for your environment. See https://docs.liquibase.com/commands/generatechangelog.html for more information. ";
"works for your environment. See https://docs.liquibase.com/commands/inspection/generate-changelog.html for more information. ";

public static final CommandArgumentDefinition<String> AUTHOR_ARG;
public static final CommandArgumentDefinition<String> CONTEXT_ARG;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* Servlet listener than can be added to web.xml to allow Liquibase to run on every application server startup.
* Using this listener allows users to know that they always have the most up to date database, although it will
* slow down application server startup slightly.
* See the <a href="https://docs.liquibase.com/tools-integrations/community-supported/servlet-listener.html">Liquibase documentation</a> for
* See the <a href="https://contribute.liquibase.com/extensions-integrations/directory/integration-docs/servlet-listener/">Liquibase documentation</a> for
* more information.
*
* @see LiquibaseJakartaServletListener
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private void warnForMismatchedXsdVersion(String systemId) {
String xsdVersion = versionMatcher.group("version");
if (!buildVersion.startsWith(xsdVersion)) {
hasWarnedAboutMismatchedXsdVersion = true;
String msg = "INFO: An older version of the XSD is specified in one or more changelog's <databaseChangeLog> header. This can lead to unexpected outcomes. If a specific XSD is not required, please replace all XSD version references with \"-latest\". Learn more at https://docs.liquibase.com";
String msg = "INFO: An older version of the XSD is specified in one or more changelog's <databaseChangeLog> header. This can lead to unexpected outcomes. If a specific XSD is not required, please replace all XSD version references with \"-latest\". Learn more at https://docs.liquibase.com/concepts/changelogs/xml-format.html";
Scope.getCurrentScope().getLog(getClass()).info(msg);
Scope.getCurrentScope().getUI().sendMessage(msg);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ no.deployment.ids.found=No deployment IDs were located. No rollbacks were perfo
no.change.sets.found.for.deployment.id=No changesets were located matching deployment ID '%s'. No rollbacks were performed.
deployment.id.required=You must specify the deployment ID.
no.executor.pro.license.found=The Executor '%s' requires a Liquibase Pro license, available at https://www.liquibase.com/pricing or sales@liquibase.com. Options include the liquibase.licenseKey in the defaults file, adding a flag in the CLI, and more. Learn more at https://docs.liquibase.com.
no.parameter.pro.license.found=Using '%s' in the '%s' parameter requires a valid Liquibase Pro license.\nGet a free Pro license key at https://liquibase.com/trial and add liquibase.licenseKey=<yourKey> into your defaults file or\nuse --pro-license-key=<yourKey> before your command in the CLI.
no.pro.license.found=Using '%s' requires a valid Liquibase Pro license.\nGet a free Pro license key at https://liquibase.com/trial and add liquibase.licenseKey=<yourKey> into your defaults file or\nuse --pro-license-key=<yourKey> before your command in the CLI.
no.parameter.pro.license.found=Using '%s' in the '%s' parameter requires a valid Liquibase Pro license.\nGet a free Pro license key at https://liquibase.com/trial and add liquibase.licenseKey=<yourKey> into your defaults file or\nuse --license-key=<yourKey> before your command in the CLI.
no.pro.license.found=Using '%s' requires a valid Liquibase Pro license.\nGet a free Pro license key at https://liquibase.com/trial and add liquibase.licenseKey=<yourKey> into your defaults file or\nuse --license-key=<yourKey> before your command in the CLI.
attempt.to.delete.the.file.failed.cannot.continue=Attempt to delete the file '%s' failed. Cannot continue. Sorry.
successfully.released.database.change.log.locks=Successfully released all database change log locks for '%s'
successfully.tagged=Successfully tagged '%s'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class LiquibaseEntityResolverTest extends Specification {

// This is an ugly assertion line, it is essentially saying, either we expect the message, so make sure it's there
// or we expect no message, so make sure there are no messages.
((expectedWarningMessage && uiService.getMessages().contains("INFO: An older version of the XSD is specified in one or more changelog's <databaseChangeLog> header. This can lead to unexpected outcomes. If a specific XSD is not required, please replace all XSD version references with \"-latest\". Learn more at https://docs.liquibase.com"))
((expectedWarningMessage && uiService.getMessages().contains("INFO: An older version of the XSD is specified in one or more changelog's <databaseChangeLog> header. This can lead to unexpected outcomes. If a specific XSD is not required, please replace all XSD version references with \"-latest\". Learn more at https://docs.liquibase.com/concepts/changelogs/xml-format.html"))
|| (!expectedWarningMessage && uiService.getMessages().isEmpty()))

cleanup:
Expand Down