Skip to content

Conversation

@Rhia2
Copy link
Contributor

@Rhia2 Rhia2 commented Oct 11, 2024

… SCIP-JAVA private-maven-repository-configuration-scip-java.mdx

  • Added a new Markdown file detailing the steps to configure Maven to use a private Nexus or Artifactory repository for SCIP-JAVA indexing.
  • Includes guidance for single repository testing and automated configuration across multiple repositories via Sourcegraph's Lua inference script.
  • Docs placed under the Code Navigation section to aid users in secure dependency management for SCIP-JAVA.

Pull Request approval

Although pull request approval is not enforced for this repository in order to reduce friction, merging without a review will generate a ticket for the docs team to review your changes. So if possible, have your pull request approved before merging.

… SCIP-JAVA private-maven-repository-configuration-scip-java.mdx

- Added a new Markdown file detailing the steps to configure Maven to use a private Nexus or Artifactory repository for SCIP-JAVA indexing.
- Includes guidance for single repository testing and automated configuration across multiple repositories via Sourcegraph's Lua inference script.
- Docs placed under the Code Navigation section to aid users in secure dependency management for SCIP-JAVA.
@vercel
Copy link

vercel bot commented Oct 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sourcegraph-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 11:23am

@MaedahBatool
Copy link
Contributor

Hey @Rhia2 is this content categorized as an independent guide or tutorial? Or it's related to a product feature?

Copy link
Contributor

@antonsviridov-src antonsviridov-src left a comment

Choose a reason for hiding this comment

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

Left some comments on parts that need to be changed

@@ -0,0 +1,85 @@
### Configuring Maven to Use a Private Repository for SCIP-JAVA
Copy link
Contributor

Choose a reason for hiding this comment

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

scip-java is not capitalised anywhere in the documentation (afaik), I think it should be consistent with its own documentation: https://sourcegraph.github.io/scip-java/docs/getting-started.html

Copy link
Contributor Author

@Rhia2 Rhia2 Oct 22, 2024

Choose a reason for hiding this comment

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

Thanks for the feedback, Anton! You're right that consistency is important. However, this documentation is primarily focused on the auto-indexing process, with scip-java used as an example to demonstrate how to configure Maven with a private repository. Given that, do you think it would be clearer to frame the doc around auto-indexing in general, rather than focusing specifically on scip-java?

I've updated it to focus on configuring a private Maven repository for auto-indexing. Could you please review the changes and share your thoughts?


#### Step 1: Testing the Configuration on a Single Repository

To test and validate the Maven configuration, start by modifying a single repository’s auto-indexing settings to include a custom `settings.xml` file.
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps it's worth linking to Maven's offical docs for this file: https://maven.apache.org/settings.html#quick-overview on the off chance that the person configuring this might not be familiar with this part of setup (as is often the case when developers work on virtual machines/thin clients that have everything setup for them, as opposed to personal laptops)

…iguration-scip-java.mdx

Co-authored-by: Anton Sviridov <[email protected]>
@Rhia2
Copy link
Contributor Author

Rhia2 commented Oct 22, 2024

Hey @Rhia2 is this content categorized as an independent guide or tutorial? Or it's related to a product feature?

Hi @MaedahBatool, this tutorial is related to auto-indexing, and I plan to include it in the "How-to" section for Auto Indexing or Precise Code Intelligence.

…ory-configuration-scip-java.mdx"

This reverts commit 3e60a68.
@varungandhi-src
Copy link
Contributor

@Rhia2 if you're done addressing the feedback, could you re-request review from Anton?

@MaedahBatool
Copy link
Contributor

Hey @antonsviridov-src, can you please tell me the status of this PR? Should I merge it? I have shipped some improvements to it. From my side, I believe it's ready to go live.

@antonsviridov-src
Copy link
Contributor

@MaedahBatool thanks for the changes – I added small changes (using lowercase scip-java name, as we never capitalise it, and fixing formatting in some steps). With that, it's good to go from my side as well

@MaedahBatool MaedahBatool merged commit 065fbae into main Nov 4, 2024
5 checks passed
@MaedahBatool MaedahBatool deleted the Rhia2-patch-2 branch November 4, 2024 19:05
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.

4 participants