☁️Software Repository Solution with CodeArts Artifact

Hatice Duyar Keskin
Huawei Developers
Published in
5 min readMay 29, 2024
CodeArts Artifact

Introduction

Hello Everyone!

Today we will have general information about Software Repository solution with CodeArts Artifact

Enjoyable reading 😊

What is software repository?

Many software publishers and other organizations maintain servers on the internet for this purpose, either free of charge or for a subscription fee. Repositories may be solely for particular programs or for an entire operating system.Operators of such repositories typically provide a package management system, tools intended to search for, install and otherwise manipulate software packages from the repositories.

Are Software Repositories safe?

As software repositories are designed to include useful packages, major repositories are designed to be malware free. If a computer is configured to use a digitally signed repository from a reputable vendor, and is coupled with an appropriate permissions system , this significantly reduces the threat of malware to these systems.

In an enterprise environment, a software repository is usually used to store artifacts, or to mirror external repositories which may be inaccessible due to security restrictions. Such repositories may provide additional functionality, like access control, versioning, security checks for uploaded software, cluster functionality etc. and typically support a variety of formats in one package, so as to cater for all the needs in an enterprise, and thus aiming to provide a single point of truth.

What are the commonly used software packages?

Very few people have the ability to test their software under multiple operating systems with different versions of the core code and with other contributed packages they may use.

Common Software Repositories

Artifacts and Packages

Artifacts and packages inherently mean different things. Artifacts are simply an output or collection of files (ex. JAR, WAR, DLLS, RPM etc.) and one of those files may contain metadata (e.g. POM file). Whereas packages are a single archive file in a well-defined format that contain files appropriate for the package type Many artifacts result from builds but other types are crucial as well. Packages are essentially one of two things: a library or an application.

Compared to source files, binary artifacts are often larger by orders of magnitude, they are rarely deleted or overwritten (except for rare cases such as snapshots or nightly builds), and they are usually accompanied by much metadata such as id, package name, version, license and more.

Metadata

Metadata describes a binary artifact, is stored and specified separately from the artifact itself, and can have several additional uses. The following table shows some common metadata types and their uses:

Metadata Type

What is Codearts Artifact?

CodeArts Artifact helps software development enterprises manage the software release process in a standardized, visualized, and traceable way.

CodeArts Artifact focuses on and manages the staging software packages (usually built by or packed from the source code) and their lifecycle metadata. The metadata includes basic attributes such as the name and size, repository addresses, build tasks, creators, and build time.

The management of software packages and their attributes is the basis of release management.

CodeArts Artifact is used to manage artifacts after source code building and supports common artifact package types such as Maven, Npm, PyPI, and NuGet. It can seamlessly interconnect with local build tools and continuous integration and deployment (CI/CD) on cloud.

Software Development Process

CodeArts Artifact provides multiple types of software repository capabilities and works with CodeArts Build, CodeArts Deploy, and CodeArts Pipeline to automate continuous delivery. Additionally, CodeArts Artifact supports managing the software package lifecycle to trace releases at any time, making it more convenient for you to measure and optimize the release process.

CodeArts Architecture

Basic Operations of CodeArts Artifact

· CodeArts Artifact is a collection of common software artifacts. It can store any software packages and tools in any formats.

· You can perform basic operations, including uploading, downloading, editing, searching for, and deleting software packages, and creating, editing, searching for, and deleting folders.

· In CodeArts Artifact, you can view and edit software package details, including basic, build, and build package archive information. The folder name, software package name, software package status, and release version can be edited.

· CodeArts Artifact manages private components and supports repository formats such as Maven, npm, Go, PyPI, RPM, Debian.

· You can edit and delete repositories and manage user permissions.

· CodeArts Artifact can be connected to a local development environment. Obtain the artifact repository address for connection.

Basic Operations of CodeArts Artifact

Conclusion

I used Huawei Cloud services in my article. I recommend that you pay attention to billing when using these services. You can turn off the services after using them.

Although CodeArts allows freepackage use, Artifact Service can be used with an extra purchasing option. You may need a small budget for this.

You can provide feedback with comments and actions. Thanks..

References

--

--