question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

upstream_package_name required?

See original GitHub issue
[dhodovsk@shiny avocado]$ cat .packit.yml 
specfile_path: python-avocado.spec
[dhodovsk@shiny avocado]$ packit srpm
Following kwargs were not processed:{'authentication': {'github.com': {'token': '.....'}, 'pagure': {'token': '...', 'instance_url': 'https://src.fedoraproject.org'}}}
Packit 0.7.2.dev172+g29b9412 is being used.
Input is a directory: /tmp/avocado
Input directory is an upstream repository.
ERROR    Preparing of the upstream to the SRPM build failed: "upstream_package_name" is not set: unable to fix the spec file; please set it.

In PR it works without it - https://github.com/dhodovsk/avocado/pull/1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dhodovskcommented, Mar 30, 2020

It works:

[dhodovsk@shiny tmp]$ git clone  https://github.com/avocado-framework/avocado/
Cloning into 'avocado'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 37276 (delta 0), reused 0 (delta 0), pack-reused 37275
Receiving objects: 100% (37276/37276), 14.48 MiB | 10.65 MiB/s, done.
Resolving deltas: 100% (25959/25959), done.
[dhodovsk@shiny tmp]$ cd avocado/
[dhodovsk@shiny avocado]$ vi .packit.yml 
[dhodovsk@shiny avocado]$ packit srpm
Packit 0.9.0 is being used.
Input is a directory: /tmp/avocado
Input directory is an upstream repository.
SRPM is /tmp/avocado/python-avocado-77.0-0.fc30.src.rpm
SRPM: /tmp/avocado/python-avocado-77.0-0.fc30.src.rpm
[dhodovsk@shiny avocado]$
0reactions
jpopelkacommented, Mar 27, 2020

packit-service/ogr#318 has been fixed.

@dhodovsk can this be closed? If so, please do. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set up upstream sources for your feed - Azure Artifacts
Select the package types you want to use, select the View and name your upstream source. Select Save when you are done.
Read more >
UpstreamGuide
http://bugs.debian.org/package where package is the name of the package in Debian. This page lists all bugs that have been reported by Debian ...
Read more >
Requesting a package version with upstream repositories
If a requested package version is found in an upstream repository, a reference to it is retained and is always available from the...
Read more >
dh_make - prepare upstream source for Debian packaging
-p, --packagename name Force the package name to be name, good for packages with hyphens in their name or other strangeness. You can...
Read more >
What do the different version elements specify in debian ...
This part is omitted for upstream Debian packages, i.e. packages (normally ... Different releases may need different meta information, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found