Skip to content

cscope.sourceforge.io#1856

Merged
jhheider merged 5 commits into
pkgxdev:mainfrom
and-ri:cscope.sourceforge.io
May 7, 2023
Merged

cscope.sourceforge.io#1856
jhheider merged 5 commits into
pkgxdev:mainfrom
and-ri:cscope.sourceforge.io

Conversation

@and-ri
Copy link
Copy Markdown
Contributor

@and-ri and-ri commented May 6, 2023

closed #650

@what-the-diff
Copy link
Copy Markdown

what-the-diff Bot commented May 6, 2023

PR Summary

  • New file added
    A new file has been introduced to the codebase.
  • Mode modification for existing file
    An existing file's mode settings have been updated.
  • Line deletion and insertion in existing file
    Deletion of one line and insertion of 26 new lines in an existing file.

Comment on lines +5 to +6
versions:
- 15.9
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this could be:

versions:
  url: https://sourceforge.net/projects/cscope/files/cscope/
  match: _/projects/cscope/files/cscope/\d+.\d+/_
  strip:
    - _^/projects/cscope/files/cscope/_
    - _/$_

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already tried

mirror: 404: https://dist.tea.xyz/cscope.sourceforge.io/v15.8.0.tar.gz
404: https://downloads.sourceforge.net/project/cscope/cscope/v15.8/cscope-15.8.tar.gz
tea expands the full semantic version, which may mean the URL you are
fetching is now incorrect. Try version.raw?
andrejrabcenko@MacBook-Pro-Andrej pantry %

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for example:
v 15.8 tar.bz2
v 15.9 tar.gz

Copy link
Copy Markdown
Contributor

@jhheider jhheider May 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like they bounced back and forth between gz and bz2 for different releases. no way to handle that yet. A complete solution probably uses:

  • {{ version.raw }} rather than {{ version.marketing }} to hand e.g. 15.8b
  • ignore: [15.8, 15.7a, 15.7] # provided .bz2 rather than .gz

@jhheider jhheider merged commit 1fc8973 into pkgxdev:main May 7, 2023
@and-ri and-ri deleted the cscope.sourceforge.io branch May 10, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

+cscope (381/548)

2 participants