Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2020-06-11T15:03:04ZPulp
Planio Migration Plugin - Task #6963 (CLOSED - CURRENTRELEASE): Add a function for cleaning up database ...https://pulp.plan.io/issues/69632020-06-11T15:03:04Zdkliban@redhat.com
<a name="Problem"></a>
<h3 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h3>
<p>The migration plugin tests need to be able to clean up the Pulp 3 database at the end of most tests.</p>
<a name="Solution"></a>
<h3 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h3>
<p>A new function needs to be written that is going to remove data from all the tables that are involved in the migration. This function needs to load a list of tables by looking at all the available models from the pulpcore app config. SQL code should be generated to delete everything from each of the tables associated with each of the models.</p>
<p>We can probably reuse a lot of the code from the Django flush command: <a href="https://github.com/django/django/blob/master/django/core/management/commands/flush.py#L27" class="external">https://github.com/django/django/blob/master/django/core/management/commands/flush.py#L27</a></p>
<a name="Rejected-solution"></a>
<h3 >Rejected solution<a href="#Rejected-solution" class="wiki-anchor">¶</a></h3>
<p>Using django reset_db requires all connections to the db being closed, it means that pulp workers needs to be down. It seems not time effective to that (stop services, clean db, run migrations,start services) for every test or every group of tests.</p> Pulp - Story #4054 (CLOSED - WONTFIX): Study Pulp data modelhttps://pulp.plan.io/issues/40542018-10-02T08:30:56Zvdusek
<p>Study Pulp data model to be able to compare Git and Pulp versioning. Start with reading<br>
these discussions: <a href="https://pulp.plan.io/issues/3360" class="external">#3360</a>, <a href="https://pulp.plan.io/issues/3842" class="external">#3842</a>, <a href="https://www.redhat.com/archives/pulp-dev/2017-December/msg00075.html" class="external">pulp-dev/2017-December/msg00075</a>.</p> File Support - Issue #4042 (CLOSED - CURRENTRELEASE): Update workflow in docs after changes of fi...https://pulp.plan.io/issues/40422018-09-27T07:54:29Zvdusek
<p>Recently fields of responses were changed (e.g. <a href="https://pulp.plan.io/issues/3978" class="external">https://pulp.plan.io/issues/3978</a>, <a href="https://pulp.plan.io/issues/3979" class="external">https://pulp.plan.io/issues/3979</a>). Workflow in docs should be updated.</p> Pulp - Task #3979 (CLOSED - CURRENTRELEASE): remove id field from all serializershttps://pulp.plan.io/issues/39792018-09-05T20:15:17Zdkliban@redhat.com
<p>Story 3850 is complete and Pulp returns shorter hrefs. The OpenAPI schema uses hrefs as identifiers. However, our REST API still returns 'id' with all the resources. To prevent users from getting confused about which field is the identifier for the resource, the id should be omitted from the response.</p> Pulp - Issue #3978 (CLOSED - CURRENTRELEASE): Operation postponed response contains too much info...https://pulp.plan.io/issues/39782018-09-05T13:51:52Zdkliban@redhat.com
<p>When a user performs a sync, repository_version creation, or a publish she is presented with a 202 response with the following schema:</p>
<pre><code>{
"_href": "/pulp/api/v3/some-task-id/",
"task_id": "some-task-id"
}
</code></pre>
<p>The `task_id` is not necessary because users are supposed to use resource HREFs as identifiers. The `_href` field is not descriptive enough on it's own. A better response would look like</p>
<pre><code>{
"task": "/pulp/api/v3/some-task-id/"
}
</code></pre> Pulp - Story #3944 (CLOSED - CURRENTRELEASE): Rename sync_mode and change its typehttps://pulp.plan.io/issues/39442018-08-29T14:30:52Zvdusek
<p>According to the pulp-dev mailing list discussion. Rename sync_mode param to mirror, change its type from string to boolean and change all the necessary logic in the code.</p> File Support - Story #3913 (CLOSED - CURRENTRELEASE): As a user I can specify the manifest filena...https://pulp.plan.io/issues/39132018-08-13T15:24:44Zdaviddavis
<p>Currently, the filename is hardcoded as PULP_MANIFEST. Allow users to specify a filename on the file publisher to be used when publishing. Optimally, the default should be the same as in <a class="issue tracker-3 status-11 priority-6 priority-default closed" title="Story: As a user, I can specify the file manifest name on the remote when syncing and publishing a repos... (CLOSED - CURRENTRELEASE)" href="https://pulp.plan.io/issues/3912">#3912</a> (ie manifest.csv).</p> File Support - Story #3912 (CLOSED - CURRENTRELEASE): As a user, I can specify the file manifest ...https://pulp.plan.io/issues/39122018-08-13T15:23:03Zdaviddavis
<p>Currently, we require users to specify the full url to the PULP_MANIFEST file. This is a bit at odds with how Pulp 2 and other plugins work so instead, we'd like to add a separate field in which users can specify the filename of the remote manifest.</p> Ansible Plugin - Issue #3898 (CLOSED - CURRENTRELEASE): Filters inherit from a Django's FilterSet...https://pulp.plan.io/issues/38982018-08-02T15:13:08Zvdusek
<p>AnsibleRoleFilter and AnsibleRoleVersionFilter inherit from Django's filterset.FilterSet class not from our BaseFilterSet. I suppose this could cause problems in generating documentation.</p> Pulp - Issue #3846 (CLOSED - WONTFIX): Wrong status codehttps://pulp.plan.io/issues/38462018-07-10T09:07:34Zvdusek
<p>When I want to create a repository with a name which is already used for another repository, it returns status code 400 - Bad Request. According to this topic <a href="https://stackoverflow.com/questions/3825990/http-response-code-for-post-when-resource-already-exists" class="external">HTTP response code for POST when resource already exists</a> I would suggest use 409 - Conflict.</p> File Support - Issue #3827 (CLOSED - CURRENTRELEASE): Filters on content list lack help texthttps://pulp.plan.io/issues/38272018-07-06T17:33:51ZdaviddavisPulp - Issue #3826 (CLOSED - CURRENTRELEASE): Range filter help text should specify the format al...https://pulp.plan.io/issues/38262018-07-06T17:31:54Zdaviddavis
<p>We have some range filters like <code>last_updated__range</code> but it's not clear how to format the input to these filters.</p> Pulp - Issue #3825 (CLOSED - CURRENTRELEASE): Date filter help text should specify the format of ...https://pulp.plan.io/issues/38252018-07-06T17:30:31Zdaviddavis
<p>We have a bunch of date filters but it's not clear what formats they allow.</p> File Support - Task #3494 (CLOSED - WONTFIX): Add sync_mode parameter to endpoint that deploys sy...https://pulp.plan.io/issues/34942018-03-16T13:21:20Zamacdona@redhat.comaustin@redhat.com
<p>sync_mode will be removed in <a href="https://pulp.plan.io/issues/3492" class="external">https://pulp.plan.io/issues/3492</a>, which will break sync.</p> Pulp - Story #1317 (CLOSED - WONTFIX): allow to host npm contenthttps://pulp.plan.io/issues/13172015-10-16T14:48:02Zmsuchy@redhat.commsuchy@redhat.com
<p>As part of Software Pipeline project in Red Hat, we would like to use Pulp as repository for various upstream packages.</p>
<p>AFAIK Pulp is unable to host those native formats. So we are forced to use another solution. Likely Sonatype Nexus.<br>
It would be nice if you can support those formats in close feature, so we can use Pulp only.</p>
<p>I understand that this is being worked on, so adding for tracking pourposes.</p>