Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSS feed lists dummy hourly ghost updates #5700

Closed
2 tasks done
stefanb opened this issue Mar 20, 2021 · 3 comments
Closed
2 tasks done

RSS feed lists dummy hourly ghost updates #5700

stefanb opened this issue Mar 20, 2021 · 3 comments
Assignees
Labels
bug Something is broken.
Milestone

Comments

@stefanb
Copy link
Contributor

stefanb commented Mar 20, 2021

Describe the issue

RSS contains a series of hourly dummy updates.

RSS feed: https://hosted.weblate.org/exports/rss/sledilnik/website/it/ lists many hourly updates by user None.

The file https://github.com/sledilnik/website/commits/master/src/locales/it.json has no updates in that period, but IS currently the last modified file in the repository (git HEAD, as can be seen on https://github.com/sledilnik/website/commits/master )

Weblate project is configured to publish the changes hourly.

It is a bit annoying to see those updates in our RSS feed (we have all languages feed subscribed in a Slack channel).
Other languages do not have this problem.

Similarly https://hosted.weblate.org/projects/sledilnik/website/#history lists hourly Committed changes.

I already tried

  • I've read and searched the docs and did not find the answer there.
    If you didn’t try already, try to search there what you wrote above.
  • I've searched the issues for rss, feed and xml, and did not find any related issue there.

To Reproduce the issue

Steps to reproduce the behavior:

  1. Go to https://hosted.weblate.org/exports/rss/sledilnik/website/it/
  2. See repeated items in xml (formatted for clarity):
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Recent changes in Sledilnik.org/COVID-19 website — Italian</title>
        <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
        <description>All recent changes made using Weblate in Sledilnik.org/COVID-19 website — Italian.</description>
        <atom:link href="https://hosted.weblate.org/exports/rss/sledilnik/website/it/" rel="self"></atom:link>
        <language>en</language>
        <lastBuildDate>Sat, 20 Mar 2021 09:18:16 +0000</lastBuildDate>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 09:18:16.430469+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 09:18:16 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 08:18:21.352749+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 08:18:21 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 07:18:33.577444+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 07:18:33 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 06:18:14.996400+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 06:18:14 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 05:18:17.070381+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 05:18:17 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 04:18:16.462217+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 04:18:16 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 03:18:17.621278+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 03:18:17 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 02:18:36.553647+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 02:18:36 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 01:18:15.224760+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 01:18:15 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
        <item>
            <title>Committed changes</title>
            <link>https://hosted.weblate.org/projects/sledilnik/website/it/</link>
            <description>Committed changes at 2021-03-20 00:18:12.624453+00:00 on Sledilnik.org/COVID-19 website — Italian by &lt;span title="None"&gt;None&lt;/span&gt;</description>
            <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&lt;span title="None"&gt;None&lt;/span&gt;</dc:creator>
            <pubDate>Sat, 20 Mar 2021 00:18:12 +0000</pubDate>
            <guid>https://hosted.weblate.org/projects/sledilnik/website/it/</guid>
        </item>
    </channel>
</rss>

Expected behavior

No such dummy repeated items.

Screenshots

in Slack:
image

git log:
image

Exception traceback

Server configuration and status

Hosted Weblate version 4.5.2-dev

Additional context

@nijel nijel self-assigned this Mar 20, 2021
@nijel nijel added the bug Something is broken. label Mar 20, 2021
@nijel nijel added this to the 4.5.2 milestone Mar 20, 2021
@nijel
Copy link
Member

nijel commented Mar 20, 2021

There was a bug in the commit code, it is fixed in fcd1ebe.

@nijel nijel closed this as completed Mar 20, 2021
@github-actions
Copy link

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

@stefanb
Copy link
Contributor Author

stefanb commented Mar 20, 2021

Hooray! 🎉
This seems to have fixed the problem, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

No branches or pull requests

2 participants