STEPBible-Data icon indicating copy to clipboard operation
STEPBible-Data copied to clipboard

ZIP filenames are not matching with module id

Open tuomas2 opened this issue 5 years ago • 7 comments

ZIP filename should match with module ID in repository (https://public.modules.stepbible.org/packages/). I.e. abpen_th.zip should be ABpEn-THE.zip and so on.

Otherwise module manager does not know what to download.

I'm trying to use the repository with And Bible (https://andbible.github.io/).

tuomas2 avatar Feb 18 '21 19:02 tuomas2

Screenshot_20211009_091028

tuomas2 avatar Oct 09 '21 06:10 tuomas2

Screenshot_20211009_091127 Screenshot_20211009_091116 Screenshot_20211009_091100

tuomas2 avatar Oct 09 '21 06:10 tuomas2

The issue is that configurations in mods.d.tar.gz are not up to date.

tuomas2 avatar Oct 09 '21 06:10 tuomas2

Selection_212

left is from mods.d.tar.gz, right one from module zip file.

tuomas2 avatar Oct 09 '21 06:10 tuomas2

Darcy, it looks like the issue #35 https://github.com/STEPBible/STEPBible-Data/issues/35 concerns a conflict between files at https://public.modules.stepbible.org/packages/ and the files in mods.d.tar.gz https://public.modules.stepbible.org/catalog/mods.d.tar.gz Do you know anything about this?

*Tuomas *I can't see why this is causing a problem. Is it something specific to ANDBible? I would have thought you would use one source or the other. Perhaps you could tell us why it is important to keep these two sources in line, before we dedicate resources to make sure this happens?

David IB

On Sat, Oct 9, 2021 at 7:15 AM Tuomas Airaksinen @.***> wrote:

[image: Selection_212] https://user-images.githubusercontent.com/5811789/136646521-83bdb28c-6840-4c10-ad18-b26955804112.png

left is from mods.d.tar.gz, right one from module zip file.

The issue is that configurations in mods.d.tar.gz https://public.modules.stepbible.org/catalog/mods.d.tar.gz are not up to date

ZIP filename should match with module ID in repository ( https://public.modules.stepbible.org/packages/). I.e. abpen_th.zip should be ABpEn-THE.zip and so on.

Otherwise module manager does not know what to download. I'm trying to use the repository with And Bible (https://andbible.github.io/ ).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/STEPBible/STEPBible-Data/issues/35#issuecomment-939236886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM5BOQKQKKYYX4ZWO7RKG3UF7MXHANCNFSM4X24TX5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

DavidIB avatar Oct 10 '21 12:10 DavidIB

It works like this.

App downloads mods.d.tar.gz and based on that it knows what modules are available in the repository. Then when trying to download zip files, it finds the zip file based on config that it has read from tar file. I think this is not specific to And Bible.

On Sun, Oct 10, 2021 at 3:24 PM David Instone-Brewer < @.***> wrote:

Darcy, it looks like the issue #35 https://github.com/STEPBible/STEPBible-Data/issues/35 concerns a conflict between files at https://public.modules.stepbible.org/packages/ and the files in mods.d.tar.gz https://public.modules.stepbible.org/catalog/mods.d.tar.gz

Do you know anything about this?

*Tuomas *I can't see why this is causing a problem. Is it something specific to ANDBible? I would have thought you would use one source or the other. Perhaps you could tell us why it is important to keep these two sources in line, before we dedicate resources to make sure this happens?

David IB

On Sat, Oct 9, 2021 at 7:15 AM Tuomas Airaksinen @.***> wrote:

[image: Selection_212] https://user-images.githubusercontent.com/5811789/136646521-83bdb28c-6840-4c10-ad18-b26955804112.png

left is from mods.d.tar.gz, right one from module zip file.

The issue is that configurations in mods.d.tar.gz https://public.modules.stepbible.org/catalog/mods.d.tar.gz are not up to date

ZIP filename should match with module ID in repository ( https://public.modules.stepbible.org/packages/). I.e. abpen_th.zip should be ABpEn-THE.zip and so on.

Otherwise module manager does not know what to download. I'm trying to use the repository with And Bible ( https://andbible.github.io/).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/STEPBible/STEPBible-Data/issues/35#issuecomment-939236886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM5BOQKQKKYYX4ZWO7RKG3UF7MXHANCNFSM4X24TX5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- T: Tuomas

DavidIB avatar Oct 10 '21 12:10 DavidIB

These are out of sync with, and older than, the modules we put in place for the Crosswire site http://wiki.crosswire.org/Official_and_Affiliated_Module_Repositories. However, even our ftp service for those modules doesn't seem to be receiving requests; perhaps something on the load balancing/content server needs to be updated. We'll then want to put those public.modules in sync too.

I'll look into this.

Darcy

On Sun, Oct 10, 2021 at 6:24 AM David Instone-Brewer < @.***> wrote:

Darcy, it looks like the issue #35 https://github.com/STEPBible/STEPBible-Data/issues/35 concerns a conflict between files at https://public.modules.stepbible.org/packages/ and the files in mods.d.tar.gz https://public.modules.stepbible.org/catalog/mods.d.tar.gz

Do you know anything about this?

*Tuomas *I can't see why this is causing a problem. Is it something specific to ANDBible? I would have thought you would use one source or the other. Perhaps you could tell us why it is important to keep these two sources in line, before we dedicate resources to make sure this happens?

David IB

On Sat, Oct 9, 2021 at 7:15 AM Tuomas Airaksinen @.***> wrote:

[image: Selection_212] https://user-images.githubusercontent.com/5811789/136646521-83bdb28c-6840-4c10-ad18-b26955804112.png

left is from mods.d.tar.gz, right one from module zip file.

The issue is that configurations in mods.d.tar.gz https://public.modules.stepbible.org/catalog/mods.d.tar.gz are not up to date

ZIP filename should match with module ID in repository ( https://public.modules.stepbible.org/packages/). I.e. abpen_th.zip should be ABpEn-THE.zip and so on.

Otherwise module manager does not know what to download. I'm trying to use the repository with And Bible ( https://andbible.github.io/).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/STEPBible/STEPBible-Data/issues/35#issuecomment-939236886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM5BOQKQKKYYX4ZWO7RKG3UF7MXHANCNFSM4X24TX5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

DavidIB avatar Oct 10 '21 13:10 DavidIB