{"id":13647529,"url":"https://github.com/softwarefactory-project/DLRN","last_synced_at":"2025-04-22T02:32:00.589Z","repository":{"id":19274486,"uuid":"22511011","full_name":"softwarefactory-project/DLRN","owner":"softwarefactory-project","description":"DO NOT send Pull Requests here, send reviews to","archived":false,"fork":false,"pushed_at":"2025-04-10T12:43:16.000Z","size":6622,"stargazers_count":28,"open_issues_count":0,"forks_count":24,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-10T13:58:24.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://softwarefactory-project.io/r/#/q/project:DLRN","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softwarefactory-project.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-01T13:34:03.000Z","updated_at":"2025-04-10T12:43:20.000Z","dependencies_parsed_at":"2024-06-10T14:09:59.869Z","dependency_job_id":null,"html_url":"https://github.com/softwarefactory-project/DLRN","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2FDLRN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2FDLRN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2FDLRN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softwarefactory-project%2FDLRN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softwarefactory-project","download_url":"https://codeload.github.com/softwarefactory-project/DLRN/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250163712,"owners_count":21385294,"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-08-02T01:03:37.726Z","updated_at":"2025-04-22T02:32:00.279Z","avatar_url":"https://github.com/softwarefactory-project.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"====\nDLRN\n====\n\nDLRN builds and maintains yum repositories following OpenStack\nupstream commit streams. (DLRN is not an acronym or an abbreviation,\nand it can be pronounced \"dee el arr en\".)\n\nDocumentation is available at\nhttp://dlrn.readthedocs.org/en/latest/\n\nSetup\n-----\n\n.. code-block:: shell-session\n\n    # yum install git createrepo python-virtualenv mock gcc \\\n                  redhat-rpm-config rpmdevtools httpd libffi-devel \\\n                  openssl-devel yum-utils openldap-devel krb5-devel\n\nAdd the user you intend to run as to the mock group and login again.\n\n.. code-block:: shell-session\n\n    $ git clone https://github.com/softwarefactory-project/DLRN.git\n\nIf you want to serve the built packages and the status reports, enable the\nhttpd service, and then either add a section in the server configuration to\nmap a URL to the data directories, or create a symbolic link:\n\n.. code-block:: shell-session\n\n    # systemctl start httpd\n    # cd /var/www/html\n    # ln -s \u003cdatadir\u003e/repos .\n\nPreparing\n---------\n\n.. code-block:: shell-session\n\n    $ cd DLRN\n    $ virtualenv ../dlrn-venv\n    $ . ../dlrn-venv/bin/activate\n    $ pip install --upgrade pip\n    $ pip install -r requirements.txt\n    $ python setup.py develop\n\n\nEdit ``projects.ini`` if needed.\n\nBootstrapping\n-------------\n\nSome of the projects require others to build. As a result, use the\nspecial option ``--order`` to build in the order computed from the\nBuildRequires and Requires fields of the spec files when you bootstrap\nyour repository.\n\n.. code-block:: shell-session\n\n    $ dlrn --order\n\nWhen using this special option, a special variable ``repo_bootstrap``\nis defined in the specs, with a value of 1. You can use this variable if\nneeded, to break dependency loops between packages. For example:\n\n.. code-block:: spec\n\n    %if 0%{?repo_bootstrap} == 0\n    BuildRequires: package-with-circular-dependency\n    %endif\n\nRunning\n-------\n\nOnce all the packages have been built once, you can get back to build\nthe packages in the order of the timestamps of the commits.\n\n.. code-block:: shell-session\n\n    $ dlrn\n\nTroubleshooting\n---------------\n\nIf you interrupt dlrn during mock build you might get an error\n\n.. code-block:: shell-session\n\n    OSError: [Errno 16] Device or resource busy: '/var/lib/mock/dlrn-fedora-x86_64/root/var/cache/yum'\n\nSolution is to clear left-over bind mount as root:\n\n.. code-block:: shell-session\n\n    # umount /var/lib/mock/dlrn-fedora-x86_64/root/var/cache/yum\n\nOther requirements\n------------------\n\nIf the git clone operation fails for a package, DLRN will try to remove\nthe source directory using sudo. Please make sure the user running DLRN\ncan run ``rm -rf /path/to/dlrn/data/*`` without being asked for a password,\notherwise DLRN will fail to process new commits.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwarefactory-project%2FDLRN","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftwarefactory-project%2FDLRN","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftwarefactory-project%2FDLRN/lists"}