{"id":16690197,"url":"https://github.com/aptmac/jmc-agent-rpm","last_synced_at":"2025-08-01T00:06:25.764Z","repository":{"id":45635239,"uuid":"433998506","full_name":"aptmac/jmc-agent-rpm","owner":"aptmac","description":"Repository for RPM packaging of the JMC Agent","archived":false,"fork":false,"pushed_at":"2022-01-07T15:11:18.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T15:28:29.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://copr.fedorainfracloud.org/coprs/almac/jmc-agent/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aptmac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-01T21:59:37.000Z","updated_at":"2022-02-01T16:16:05.000Z","dependencies_parsed_at":"2022-09-15T17:51:28.298Z","dependency_job_id":null,"html_url":"https://github.com/aptmac/jmc-agent-rpm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fjmc-agent-rpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fjmc-agent-rpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fjmc-agent-rpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aptmac%2Fjmc-agent-rpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aptmac","download_url":"https://codeload.github.com/aptmac/jmc-agent-rpm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243472807,"owners_count":20296424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T15:50:42.865Z","updated_at":"2025-03-13T19:42:48.600Z","avatar_url":"https://github.com/aptmac.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JMC Agent Packaging\n\ncopr repository available at: https://copr.fedorainfracloud.org/coprs/almac/jmc-agent/\n\n## Using the contents of this repo\n\n### Fetch the JMC sources\n`$ bash fetch-sources.sh`\n\n### Building the source rpm\n`$ fedpkg srpm`\n\noptionally, can create a Fedora version-specific srpm:\n`$ fedpkg --release f34 srpm` would create a srpm for Fedora 34\n\n### Building the package locally (mock)\nIf I'm looking to create a mock build for Fedora 34 using the first iteration of this package, my command might look something like:\u003c/br\u003e\n`$ mock -r fedora-34-x86_64 ./jmc-agent-1.0.1-1.fc34.src.rpm`\n\noptionally, can add `--postinstall` to install the resulting `.rpm` once it is built.\n\nNote: the agent uses `maven-shade-plugin` as a build requirement, which is available in F34 and onward.\n\n### Building the package in copr\nFirst, set up a copr project for your builds. (https://copr.fedorainfracloud.org/)\u003c/br\u003e\n\nIn your new project, create a build by navigating to the \"Builds\" page, and select the button \"New Build\". On this page you can select \"Upload\" as the source type, and select the source rpm built two steps ago. Select the chroots of interest and build it.\u003c/br\u003e\n\n### Installing from copr\n\nEnable the copr repo:\n`$ dnf copr enable almac/jmc-agent`\u003c/br\u003e\n\nInstall the agent:\n`$ sudo dnf install jmc-agent`\u003c/br\u003e\n\nYou can find the installed agent jar at: `/usr/share/java/jmc-agent/agent.jar`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faptmac%2Fjmc-agent-rpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faptmac%2Fjmc-agent-rpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faptmac%2Fjmc-agent-rpm/lists"}