primordic/IssueDupesLite huggingface dataset:
Repository: jj-vcs/jj

Issue #1176: Can conflict markers indicate what revision each version originates from?
Created: 2023-02-02T02:12:30Z
When you have a conflict and materialize the conflict markers into the working copy, can the markers give some hint of origin for each version of the changes like revision IDs?
For instance the conflicts in a file will look like
<<<<<<<
%%%%%%%
some version
+++++++
other version
>>>>>>>

but without context on where these versions originated from, it can be hard to figure out how to resolve the changes. Could there be any kind of hint IDs/descriptions maybe after the markers on the same line to give context?

Duplicate issue #4600: FR: Show which revisions are involved in a conflict
Created: 2024-10-07T19:12:35Z
Is your feature request related to a problem? Please describe.
I recently rebased a branch and included multiple parents.
Several revisions descended from that merge commit I've got a revision with new conflicts.
When opening the file to resolve conflicts I see Conflict #1 of 3, then Contents of side #1 Changes from base to side #2, but I don't actually know which revisions base side #1 and side #3 correspond to, and can't find anywhere where this information is surfaced.
In fact, I'm not actually sure whether it's always possible to assume these 'sides' correspond to a revision. If they do I'd love to know which revisions they are, or perhaps which revisions were involved in a given conflict.
Describe the solution you'd like
I'm not sure it's possible, but I'd love to see:
<<<<<<< Conflict 1 of 3 between abcd and my-feature-branch
+++++++ Contents of abcd
  eval env denv activeThreads ustk bstk (Push ufsz bfsz uasz basz cix comb k) r nw
%%%%%%% Changes from defgh to my-feature-branch
...
>>>>>>> Conflict 1 of 3 ends

Describe alternatives you've considered
Even if jj st showed which files were conflicted because of which revisions that'd help, but would be slightly less helpful.
Thanks y'all! If I'm missing a better way to get this information please let me know!

Closing comment (2024-10-07T20:39:47Z): This is a duplicate of #1176. The current information stored in conflicted commits don't currently allow us to accurately determine which side corresponds to which original commit, due to the variety of ways conflicted commits can be created (see #1176 (comment) for a more detailed explanation).
Edit: In general, when rebasing commit B onto commit A, the left side (side #1) is the contents from commit B, the base is the contents from the common ancestor of commits A and B, and the right side (side #2) is the contents from commit A. If one of these commits are themselves conflicted, those different conflicted files will be included in the new conflicted commit as additional bases/sides of the conflict.
Repository: jj-vcs/jj

Issue #4001: Built-in diff editor doesn't redraw screen correctly in the presence of tabs
Created: 2024-07-01T13:36:58Z
Description

In some files (not sure which), there's a very annoying display bug in the jj split UI. Unfolding and folding a section doesn't clear parts of the text, which makes the whole UI kind of unusable in most cases.
Probably best seen in the video below.
Steps to Reproduce the Problem

Have changes in your working tree.
jj split
Unfold and fold a larger file.

Expected Behavior
Actual Behavior

  
    
    

    2024-07-01_15h26_09.mp4
    
  

  

  


Specifications

Platform: Ubuntu 24.04
Version: 0.18.0

Duplicate issue #4276: tabs break rendering in diff-editor
Created: 2024-08-15T14:04:49Z
Description
Tab characters in text files cause issues in rendering, with some areas of the display not being updated on fold / scroll
Steps to Reproduce the Problem

jj init
echo $'\t\t\tabc' > foo.txt
jj split
press f to expand the root node
press f again to collapse the root node

Expected Behavior
The screen shows the same content after folding that it did before unfolding.
Actual Behavior
Some of the content of the hidden node is still shown after folding the diff.
Specifications

Platform: Linux Mint 22
Version: jj 0.20.0-78c0128ec3b70c72810251c42847c1efa1f83a31

Closing comment (2024-08-15T14:11:06Z): This is a duplicate of #4001.
Repository: jj-vcs/jj

Issue #1967: FR: Display output from remotes
Created: 2023-08-03T14:07:23Z
Is your feature request related to a problem? Please describe.
jj git push doesn't display output from remotes. This results in a misleading error if the remote has hooks which reject the push: Error: Remote rejected the update of some refs (do you have permission to push to ["refs/heads/main"]?)
It also makes it appear as if jj has hung if the remote is slow (e.g., Dokku building a container).
Describe the solution you'd like
jj git push would display the text returned by the remote, streaming as it comes in.
Describe alternatives you've considered
Use git push directly until this is implemented.
Additional context
Discord discussion

Duplicate issue #3236: FR: Print "remote:" messages when pushing new branch to git repo
Created: 2024-03-06T19:29:32Z
Is your feature request related to a problem? Please describe.
When using git, if I create a new branch and say git push, some forges will send back messages that allow me to open a new PR/MR on the forge for that branch. For example:
noah ~/personal/temp
$ git switch -c nb/example
Switched to a new branch 'nb/example'
noah ~/personal/temp
$ touch example
noah ~/personal/temp
$ git add example
noah ~/personal/temp
$ git commit -m 'ignore me'
[nb/example 571c1446] ignore me
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 example
noah ~/personal/temp
$ git push
Enumerating objects: 45, done.
Counting objects: 100% (43/43), done.
Delta compression using up to 11 threads
Compressing objects: 100% (25/25), done.
Writing objects: 100% (29/29), 3.54 KiB | 3.54 MiB/s, done.
Total 29 (delta 20), reused 4 (delta 2), pack-reused 0
remote:
remote: To create a merge request for nb/example, visit:
remote:   https://gitlab.com/crossbeam/temp/-/merge_requests/new?merge_request%5Bsource_branch%5D=nb%2Fexample
remote:
To gitlab.com:crossbeam/temp.git
 * [new branch]        nb/example -> nb/example
branch 'nb/example' set up to track 'origin/nb/example'.

At the end, there's the 3 lines starting with remote:, and the middle one is a link generated by Gitlab that I can copy-paste to automatically open an MR for this new branch.
Describe the solution you'd like
Display those messages somehow.
Describe alternatives you've considered
Do nothing.

Closing comment (2024-03-13T22:21:28Z): I would also like! I think this is also a duplicate of #1967 where there was some additional commentary
Repository: jj-vcs/jj

Issue #3702: file deletion ignored by `jj split` (when using the built-in diff editor)
Created: 2024-05-17T02:10:34Z
Description

jj split and jj squash -i both appear to ignore selected file deletions. This appears to be limited to the default editor (could not reproduce with --tool meld). They are shown in the diff editor but do not end up in the chosen commit.
Steps to Reproduce the Problem

mv foo bar
jj split
select all changes
jj show @-
jj show @

Expected Behavior
the first commit contains a file addition (bar) and a file deletion (foo)
the second commit is empty
Actual Behavior
the first commit contains a file addition (bar)
the second commit contains a file deletion (foo)
Specifications

Platform: Windows 10
Version: jj 0.17.1-c34f35fffe1b8e5932ba27ac4da8ba5a97d417a5

Duplicate issue #5840: `jj squash -i`/`jj split` ignores selection of deleted files
Created: 2025-02-28T18:35:18Z
Description
Steps to Reproduce the Problem

jj new
echo hello > hello.txt
jj new
rm hello.txt
jj squash -i
select hello.txt
(c)onfirm

Expected Behavior
Deletion of hello.txt squashed into the parent
Actual Behavior
Error: No changes selected. Deletion of hello.txt is still in the current working copy, and the parent is intact.
Specifications

Platform: macOS
Version: 0.26.0-613742dfbbd89324b25672a75ef8ce9e671ae0d3

Closing comment (2025-02-28T18:50:16Z): This is a duplicate of #3702.
Repository: jj-vcs/jj

Issue #65: jj status does not honor .git/info/exclude
Created: 2022-02-20T19:23:45Z
Expected Behavior
jj would honor the existing .git/info/exclude in addition to .gitignore, to allow easier coexistence with git
Actual Behavior
jj status adds local files even if they are excluded by .git/info/exclude
Steps to Reproduce the Problem

git clone https://github.com/martinvonz/jj.git
cd jj && jj init --git-repo .
jj st
observe it says everything is ok
echo secret-password >> .git/info/exclude
touch secret-password
jj status
observe jj has started to track secret-password

I also tried it with jj git clone and then editing .jj/repo/store/git/info/exclude with the same outcome
The problem this is trying to solve is when one does not wish to make formal edits to the upstream repo's .gitignore but also needs jj to stop adding local log files, editor metadata, etc, on any random jj operation
Specifications

Version: 2916cb2
Platform: darwin/amd64

Duplicate issue #87: Global .gitignore not respected
Created: 2022-02-26T21:31:50Z
Expected Behavior
jj status shows files which should be globally ignored:
$ jj status
...
A bin/.DS_Store
A tests/.DS_Store

Actual Behavior
jj status should respect global .gitignore file by default.
Steps to Reproduce the Problem

git config --global core.excludesfile ~/.gitignore_global
jj init --git-repo=.
touch .DS_Store
jj st

The same problem happens even if I create ~/.gitignore.
Specifications

Version: jj 0.2.0 @ aadab1982dd7deaca7c20ba9d4c5e908115d7ba0
Platform: macOS 11.6.4

Closing comment (2022-03-04T01:39:46Z): I just found realized that ~/.gitignore doesn't seem to be anywhere in Git's documentation of how ignores work, so I suspect I just hard-coded the location it happened to have on my system. Oops.
By the way, this bug is very closely related to #65, so I'll probably fix both at around the same time (but probably not the same commit).
Repository: jkbrzt/rrule

Issue #233: Daily times are wrong around DST when system is not UTC
Created: 2018-08-03T19:16:13Z
There are a number of much older issues around this (#65 , #157 , #213) and I was hoping it would be resolved with a fix for #38 et al., and a fix (without a test) was even merged in for it (#232), but it continues to be an issue.
Repro:
const rrule = RRule.fromString('DTSTART=20181101T100000Z;UNTIL=20181106T100000Z;FREQ=DAILY')
expect(rrule.all()).to.deep.equal([
  new Date('2018-11-01T10:00:00.000Z'),
  new Date('2018-11-02T10:00:00.000Z'),
  new Date('2018-11-03T10:00:00.000Z'),
  new Date('2018-11-04T10:00:00.000Z'),
  new Date('2018-11-05T10:00:00.000Z'),
  new Date('2018-11-06T10:00:00.000Z')
])
Result:
      AssertionError: expected [ Array(5) ] to deeply equal [ Array(6) ]
      + expected - actual

       [
         [Date: 2018-11-01T10:00:00.000Z]
         [Date: 2018-11-02T10:00:00.000Z]
         [Date: 2018-11-03T10:00:00.000Z]
      -  [Date: 2018-11-04T11:00:00.000Z]
      -  [Date: 2018-11-05T11:00:00.000Z]
      +  [Date: 2018-11-04T10:00:00.000Z]
      +  [Date: 2018-11-05T10:00:00.000Z]
      +  [Date: 2018-11-06T10:00:00.000Z]
       ]

The resulting times for a daily repeating routine are off by 1 hour after "fall back". This only reproduces when the machine's time zone is one with DST, so it does not exist under UTC, for example.

Duplicate issue #230: Issue with weekly rule
Created: 2018-08-02T02:13:19Z
I'm using version 2.2.9 and the following rule:
FREQ=WEEKLY;DTSTART=20181031T180000Z;UNTIL=20181115T050000Z
This rule produces these dates in the browser demo:
1 | Wed | Oct | 31 | 2018 | 14:00:00 | GMT-0400 | (Eastern Daylight Time)
2 | Wed | Nov | 07 | 2018 | 14:00:00 | GMT-0500 | (Eastern Standard Time)
3 | Wed | Nov | 14 | 2018 | 14:00:00 | GMT-0500 | (Eastern Standard Time)
It produces these dates in both the iOS simulator and Android emulator running a react native app:
1 | Wed | Oct | 31 | 2018 | 14:00:00 | GMT-0400 | (Eastern Daylight Time)
2 | Tue | Nov | 06 | 2018 | 14:00:00 | GMT-0500 | (Eastern Standard Time)
3 | Wed | Nov | 14 | 2018 | 14:00:00 | GMT-0500 | (Eastern Standard Time)
These dates are generated using the following code:
import {RRule,rrulestr} from 'rrule';
...
let r = rrulestr('FREQ=WEEKLY;DTSTART=20181031T180000Z;UNTIL=20181115T050000Z');
let rdates = r.all();

Closing comment (2018-08-03T21:53:59Z): Another dupe of #233
Repository: jkbrzt/rrule

Issue #481: Infinite loop on rule.between()
Created: 2021-09-17T10:59:30Z
I'm stucked in an infinite loop caaling the rrule.between(date1, date2) with the following rrule:
2021-09-17T10:56:00.472Z 2021-09-17T09:56:00.472Z 2021-09-18T10:56:00.472Z
const rule = new RRule({
          freq:
            item.recurringType == 'weekly'
              ? RRule.WEEKLY
              : item.recurringType == 'single'
              ? RRule.DAILY
              : RRule.YEARLY,
          interval: item.recurringSeparation,
          byweekday: [newsService.formatRruleWeekday(new Date(item.recurringDate).getDay())],
          dtstart: new Date(item.recurringDate),
          until: '2021-09-18T10:56:00.472Z'
})
console.log(rule):
RRule {
  _cache: Cache { all: false, before: [], after: [], between: [] },
  origOptions: {
    freq: 3,
    interval: null,
    byweekday: [ 1 ],
    dtstart: 2021-09-14T09:00:00.000Z,
    until: 2021-09-18T10:33:00.224Z
  },
  options: {
    freq: 3,
    dtstart: 2021-09-14T09:00:00.000Z,
    interval: null,
    wkst: 0,
    count: null,
    until: 2021-09-18T10:33:00.224Z,
    tzid: null,
    bysetpos: null,
    bymonth: null,
    bymonthday: [],
    bynmonthday: [],
    byyearday: null,
    byweekno: null,
    byweekday: [ 1 ],
    bynweekday: null,
    byhour: [ 9 ],
    byminute: [ 0 ],
    bysecond: [ 0 ],
    byeaster: null
  }
}
Then calling:
rule.between('2021-09-17T09:56:00.472Z', '2021-09-17T10:56:00.472Z').forEach((rule) => {
 .....
})
I get the Infinite loop here on debugging:

Package version: 2.6.8
OS: macOS Big Sur 11.4

Duplicate issue #568: Infinite loops in iter when interval < 0
Created: 2023-02-17T13:02:50Z
The issue can be reproduced by creating a rrule with an interval less than 0 or null , and then calling after, between, before.
Some parsing bug gave this Rrule : DTSTART:20230201T070000Z RRULE:FREQ=DAILY;INTERVAL=.007;COUNT=10 which goes on recursion.

Closing comment (2024-05-22T13:17:49Z): Duplicate of #481
Repository: jkbrzt/rrule

Issue #38: Time Zone Support
Created: 2013-12-12T22:48:01Z
Is there a way to get a .between for an RRULE that is in a time zone other than the browser's current time zone? could the library make use of timezone-js to implement this functionality?
For example, if I'm in America/New_York but I have a recurrence that should be interpreted in Europe/Paris, the resulting dates should account for the daylight savings changes in the Europe/Paris time zone.
Edit: Digging deeper, would a change to
tzOffset: function(date) {
  return date.getTimezoneOffset() * 60 * 1000
}

fix this issue?

Duplicate issue #60: How to set tzid / timezone?
Created: 2014-06-21T05:13:38Z
It appears that this uses the local time for calculations, but how do I calculate a schedule for another timezone?
Or perhaps I should call something like this?
date.toString().replace(/GMT.*/, 'GMT' + offset + ' (' + abbr + ')')

Use case:
i.e. I want to set a recurring event for 10am EST but the server that is actually running the code is PST, so despite the fact that the result set is converted to UTC, it's converted to the wrong UTC.

Closing comment (2018-08-13T01:24:44Z): Duplicate of #38
Repository: jkbrzt/rrule

Issue #136: Failing test "testStrNWeekDay"
Created: 2016-03-26T20:11:13Z
This one fails for me:
1) rrulestr testStrNWeekDay [every year on the 1st Tuesday and last Thursday for 3 times] [FREQ=YEARLY;COUNT=3;BYDAY=+1TU,-1TH;DTSTART=19970902T090000Z]:

      AssertionError:  - 1/3
      + expected - actual

      -Thu Dec 25 1997 11:00:00 GMT+0200 (EET)
      +Thu Dec 25 1997 12:00:00 GMT+0200 (EET)

      at assertDatesEqual (test/lib/utils.js:20:12)
      at Context.<anonymous> (test/lib/utils.js:103:5)

Duplicate issue #152: Default test fails
Created: 2016-08-05T07:30:46Z
- testStrKeywords
1) testStrNWeekDay [every year on the 1st Tuesday and last Thursday for 3 times] [FREQ=YEARLY;COUNT=3;BYDAY=+1TU,-1TH;DTSTART=19970902T090000Z]

272 passing (2s)
10 pending
1 failing

rrulestr testStrNWeekDay [every year on the 1st Tuesday and last Thursday for 3 times] [FREQ=YEARLY;COUNT=3;BYDAY=+1TU,-1TH;DTSTART=19970902T090000Z]:

  AssertionError:  - 1/3
  + expected - actual

  -Thu Dec 25 1997 10:00:00 GMT+0100 (CET)
  +Thu Dec 25 1997 11:00:00 GMT+0100 (CET)

  at assertDatesEqual (test/lib/utils.js:20:12)
  at Context.<anonymous> (test/lib/utils.js:103:5)

npm ERR! Test failed.  See above for more details.

Closing comment (2018-01-16T12:33:26Z): Closing due to duplicate of #136
Repository: jkbrzt/rrule

Issue #344: Crashes without luxon
Created: 2019-05-31T06:33:38Z
Luxon is an optional dependency and I'd rather not include it since my project already has moment and I don't need timezone support in my rrule usage.
So I installed it:
$ npm install --save --no-optional rrule
+ rrule 2.6.0
$  ls node_modules | grep luxon
# nothing
So far so good.  But then as soon as I bundle with webpack and run, it crashes in ./node_modules/rrule/dist/esm/src/datewithzone.js with "Module not found: Error: Can't resolve 'luxon'".  Is this a limitation of webpack?  How can I use rrule without luxon?

Duplicate issue #382: How can I install rrule without luxon library?
Created: 2019-12-19T14:51:08Z
This is not an issue just a question.
I know, I can pass  --no-optional to ignore the optional dependencies while installing package like this:
npm install rrule --no-optional

But if I run 'npm run install' again on my project. it installs the luxon library.
Either I have to ignore optional dependencies from all the packages that I have installed or I have to install luxon.
Is there any way I can install rrule from npm with luxon ?

Closing comment (2020-03-12T19:44:03Z): Duplicate of #344.
Repository: jkbrzt/rrule

Issue #279: .between() impacted by daylight savings
Created: 2018-09-13T19:16:47Z
Reporting an issue
Thank you for taking an interest in rrule! Please include the following in
your report:

 Verify that you've looked through existing issues for duplicates before
creating a new one
 Code sample reproducing the issue. Be sure to include all input values you
are using such as the exact RRule string and dates.
 Expected output
 Actual output
 The version of rrule you are using

2.3.6 and 2.5.5.   I'm only 90% sure I saw it in 2.5.5 as well.


 Your operating system

MacOS, Android, and iOS (It's a react-native app)


 Your local timezone (run $ date from the command line
of the machine showing the bug)

CDT, will become CST in a couple months, as seen in the example below...



The .between() function shows when a date will be in the future without adjusting for daylight savings time. EG. If you have an event daily at midnight, the .between() results would be correct if the people attending that event pretended daylight savings never happened and just continued with the same 24 hour repetition and attended at a time that would actually be 11pm in the new daylight savings offset.
Hack script to reproduce. This code shows an event which should happen on the first monday of each month.
const ruleString = "FREQ=MONTHLY;BYDAY=1MO"
const RRule = require('rrule').RRule;
let options = RRule.parseString(ruleString);
let from = new Date();
// make midnight...
from.setHours(0)
from.setMinutes(0)
from.setSeconds(0)
options.dtstart = from
let rRule = new RRule(options);
let until = new Date(new Date().setMonth(new Date().getMonth() + 3));
rRule.between(new Date(), until).map(eventOcurrence => {
console.log("Created " + eventOcurrence)
})

Expected output:
Created Mon Oct 01 2018 00:00:00 GMT-0500 (CDT)
Created Mon Nov 05 2018 00:00:00 GMT-0600 (CST)
Created Mon Dec 03 2018 00:00:00 GMT-0600 (CST)

Observed output:
Created Mon Oct 01 2018 00:00:00 GMT-0500 (CDT)
Created Sun Nov 04 2018 23:00:00 GMT-0600 (CST)
Created Sun Dec 02 2018 23:00:00 GMT-0600 (CST)

Duplicate issue #285: Hour gap in time-zones that utilize summer/winter time switch?
Created: 2018-10-01T09:48:49Z
Using this awesome tool in conjunction with Microsoft Exchange Web Services for email client app.

Occurrences generated in order to fit EWS Repeating patterns. But this question is related to all of them. Simplest one DAILY for example. Dates provided as ISOStrings like so 2018-10-01T09:33:32.562Z

      new RRule({
        freq: RRule.DAILY,
        dtstart: new Date(Date.parse(Start)),
        interval: Recurrence.Interval,
        tzid: 'local',
        wkst: RRule.SU
      })


Expected output (OWA)

Actual output


"rrule": "^2.5.5",
"luxon": "^1.3.3",


Windows 10ENT
Mon Oct 01 2018 12:30:15 GMT+0300 (FLE Daylight Time)

Closing comment (2018-10-01T21:38:37Z): This is resolved and a dupe of #279 #233 #230 and others, and the fix involves simply passing in a UTC date to begin with, but I'm wondering if there might actually be a library-level fix here somehow to "normalize" dates passed in so they're always treated as UTC even if they're not originally.
Repository: jkbrzt/rrule

Issue #292: EXDATE not working with dst
Created: 2018-10-20T17:54:34Z
Scenario

RRuleSet starting from 20th october till 18th November in timezone America/Los_Angeles
DST begins on 2nd November 2018 2am
Added two EXDATE on 1st november and 7th november

Expectation

EXDATE on 1st november in PDT and 7th november in PST
Should exclude 1st november and 7th november from the array of result

Reality

1st november is excluded but 7th november is not.
If 7th november is added in PDT, it works.

RRuleSet
DTSTART;TZID=America/Los_Angeles:20181022T070000 RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20181118T075959;WKST=SU;BYDAY=MO,TU,WE,TH,FR EXDATE;TZID=America/Los_Angeles:20181101T070000,20181107T080000

Duplicate issue #293: EXDATE DST issue (reopen #292)
Created: 2018-10-21T01:33:31Z
@davidgoli  I agree to the point that if the recurrence is at 7pm, it will remain at 7pm whether or not dst and the EXDATE should be too 7pm. But the case I am trying to explaing is, while in DST, the UTC time will change as 8pm instead of 7pm.

7pm in America/Los_Angeles on 30th October is 2am 31st UTC

moment().tz('America/Los_Angeles').month(9).date(30).hour(19).minute(0).second(0).millisecond(0).toISOString() will result in 2018-10-31T02:00:00.000Z

7pm in America/Los_Angeles on 10th November is 3am 11th UTC

moment().tz('America/Los_Angeles').month(10).date(10).hour(19).minute(0).second(0).millisecond(0).toISOString() will result in 2018-11-11T03:00:00.000Z
While parsing the rule, the UTC time itself is adjusted during dst. so should the EXDATE should also resemble to adjusted time?
const rruleSet = new RRuleSet(); rruleSet.exdate(new Date(moment(this.event.start).startOf('d').toISOString()));
This is the piece of code I am using for setting the EXDATE which gives me the result with two different offsets depending on standard or dst time.
Originally posted by @harryy2510 in #292 (comment)

Closing comment (2018-10-21T01:40:03Z): Duplicate of #292
Repository: jkbrzt/rrule

Issue #101: toText sorts bymonthday incorrectly
Created: 2015-07-15T18:00:05Z
If I do like this:
var options = {"freq":"2", "bymonthday":[3,10,17,24]};
var rule = new RRule(options);
console.log(rule.toText());
The expected output would be every week on the 3rd, 10th, 17th and 24th but is every week on the 10th, 17th, 24th and 3rd.
https://jsfiddle.net/h1tcyefc/1/

Duplicate issue #139: Ordinal numbers should be sorted numerically not alphabetically
Created: 2016-05-04T08:29:02Z
I.e.
"every month on the 1st, 10th, 11th, 12th, 13th, 14th, 15th, 16th, 17th, 18th, 19th, 2nd, 20th, 21st, 22nd, 23rd, 24th, 25th, 26th, 27th, 28th, 29th, 3rd, 30th, 31st, 4th, 5th, 6th, 7th, 8th and 9th until May 4, 2020"
Should be shown as
"every month on the 1st, 2nd, 3rd, 4th, ..."

Closing comment (2017-04-07T17:38:29Z): This is a duplicate of:  #101
Repository: jlegewie/zotfile

Issue #293: Zotfile popups don't disappear consistently
Created: 2017-08-09T20:03:04Z

Duplicate issue #301: Zotfile popup not close
Created: 2017-08-28T00:15:03Z
The Zotfile popup for rename attachments is not closing.
I Use Zotero 5 in Ubuntu.

Closing comment (2017-08-28T09:14:41Z): ��Duplicates #293
Repository: jlegewie/zotfile

Issue #499: Firefox could not add Zotfile extension by manually installing from the file - File corrupt error
Created: 2020-12-15T11:10:25Z
I downloaded the .xpi file following the instructions and tried to install it from the Install add-on from the file.
Firefox could not add the Zotfile extension from the file.
Shows the error that the file appears to be corrupt.

Duplicate issue #658: Zotfile download flagged as "corrupt"
Created: 2023-07-10T17:41:44Z
Hi devs!
I'm trying to install Zotfile on a new computer, but Firefox is flagging the download as corrupt. Just a heads up!
Best wishes,
Kate

Closing comment (2023-07-11T16:27:10Z): This could be a duplicate of #499 and #398. The solutions and explanations proposed there might solve your issue. 🤞
Repository: jlegewie/zotfile

Issue #296: Suggestion: add original filename to renaming rule fields
Created: 2017-08-18T08:26:24Z
Thank you very much for this fantastic add-on. It is very good.
Would it be difficult to add original filename as a possible field to the attachment renaming, say as {%o}. Use case would be this:
I have an article - it consists of several parts and I want to keep them separate; however they all belong to the same article - therefore I want only one entry in Zotero. Names could be like this:
My_article_name.pdf
Abstract.pdf
Diagram_1.pdf
Diagram_2.pdf
Table_1.pdf
Slide_1.pdf

If I had the option to add original filename, it would create a nice series of attachments, all belonging to the same article. All I would have to do after I add the main text (the first list item) of the article  would be to change the rules in the preferences by adding {%o} and then I can add the other attachments. Or if I choose to name the first item simply as main.pdf I would not even need to change renaming preferences. I presently achieve similar results via the user input field, but that is a manual entry every time and also creates a whitespace between the name and the user input, which I do not like in filenames.
I think there could be many use cases when one wants one bibliographic item to refer to, but to have multiple attachments that each may have a different use case (e.g. email just the table to the editor etc.). I am very happy to use user input field, but I thought that adding the original filename field might be an easy and useful addition that expands use of Zotero as an electronic library manager.
With best regards,
Robert

Duplicate issue #626: Option to only move attachments based on filetype or through user input
Created: 2022-09-07T09:26:34Z
First, thank you for a great extension.
Is it possible to have a different renaming rule based on filetype/extension or by asking user for renaming confirmation/validation?
My use case is the following:

I use zotfile to move files (pdf, html, zip, mp4...) to my OneDrive folder and create links.
I use the renaming of pdf, html snapshot so I can find papers on Onedrive web interface or computer without zotero installed.
The renaming of zip, mp4 is not really convenient. So for those, I change the extensions.zotfile.disable_renaming to true. I also do the same when I have multiple pdf for the same item (for example one pdf for each chapter of a book).
This is a bit of a manual process, is there anyway to improve that process with the current version (5.1.1) of zotfile ? If not is it a feature that would make sense for other users ?

Closing comment (2022-09-10T11:42:05Z): The comment on multiple pdf for chapters of a book is related to #296. And the option proposed to have the original file name as a field you can use would solve better the case of multiple pdf for the same item.
Repository: jlegewie/zotfile

Issue #171: in duplicate filenames, dots cause early truncation
Created: 2015-03-20T17:49:53Z
I am working with two NEJM, written by the same author, in consecutive issues (same year), carrying the same title. Zotfile is set to move filenames in the same folder and to apply the custom filename %t{ (%y)}{ (%a)}{ (%s)}. The first file gets the name Hypertrichosis (1965) (Forbes) (N. Engl. J. Med.).pdf as expected. The second gets the name Hypertrichosis (1965) (Forbes) (N2.pdf, which truncates early the expected filename.

Duplicate issue #205: Extensionless file cannot be moved and renamed
Created: 2016-01-07T21:04:58Z
I tried to attach to a Web Page item a PDF capture that I made separately, when I noticed that the lack of file extension causes Zotfile to fail moving and renaming.
If the file is renamed "aaa.pdf", Zotfile moves and renames its Zotero copy as expected. But when the same file is renamed so that it lacks extension, Zotfile fails to move and rename, the GUI protests that "Attachments skipped because they are top level items...", and the console shows:
(3)(+0000003): MIME type application/pdf cannot be handled internally
(5)(+0002471): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=1) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE sourceItemID=? AND linkMode NOT IN (?) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY mimeType='application/pdf' DESC, value=? DESC, dateAdded ASC

Closing comment (2016-03-06T23:55:46Z): Wondering if this is in any way related to #171 .
Is this still a problem in the latest zotfile version?
Repository: jlegewie/zotfile

Issue #175: option to change cite-format
Created: 2015-04-01T00:41:13Z
Is there a way to change the cite-format, when using the 'Extract Annotations' feature?
I have found the option to do some adjustments in extensions.zotfile.pdfExtraction.formatAnnotationNote, but the %(cite) variable does not seem to be configurable?
Right now it comes out as "%(author) %(year):%(page)" and I would like it to be "%(author), %(year), p. %(page)" instead (APA-style) (exampled with fictitious variables, but I hope it makes sense).
I.e. "Clegg et al, 2005, p. 150" instead of "Clegg et al 2005:150".
But I seem to have hit a wall, so any pointers or hints, would be greatly appreciated.

Duplicate issue #186: Pdf extraction: customization of the author-date parentheses
Created: 2015-05-10T10:45:54Z
https://forums.zotero.org/discussion/27674/how-to-edit-xpi-files/#Comment_224188
I don't think it is (still?) possible at the moment.
Would be a hidden option (like formatNoteTitle, formatAnnotationNote, formatAnnotationHighlight, formatAnnotationUnderline)

Closing comment (2015-05-10T14:04:31Z): I am closing this one because it duplicates #175
Repository: jlegewie/zotfile

Issue #112: Create symbolic/hard links for collections of item
Created: 2013-08-08T17:36:39Z
mronkko2
Joscha: Wouldn't what citizen_x do be possible in one of the two ways:

Hard links
Keep the file in the original directory, but create symbolic links based on collections

I am not saying that you should do this, and this is probably really confusing for users who do not know how links work.
I wrote a perl script to do the collection thing that citizen_x needs, but symbolic links are not very useful on network drives.
https://github.com/mronkko/BuildFolderStructureForZoteroItems/blob/master/BuildFolderStructureForZoteroItems.pl

https://forums.zotero.org/discussion/5301?page=15#Item_566

Duplicate issue #113: Allow using tags wildcard for renaming files/folders
Created: 2013-08-19T23:55:03Z
This would complement existing functionality very well!

Closing comment (2013-08-20T11:17:21Z): Ok, sure, thanks.
As I say though I'd be happy for the program to make copies of the same file for different folders
jlegewie notifications@github.com wrote:

Okay, so this would be related to #112. I have no plans to implements
links to files and I also think it might be confusing for many users.
But I would consider a pull request that implements such a feature for
advanced users.

Reply to this email directly or view it on GitHub:
#113 (comment)
Repository: jlegewie/zotfile

Issue #417: ZotFile errors cannot be resolved
Created: 2019-07-10T14:30:43Z
I've migrated cloud storage and in the process lost my folder with Tablet files. No problem for me (they are all still in Zotero) but it confuses Zotfile, which started to generate loads of error messages (one for every missing file) every single time I click on the "Tablet Files" saved search. Here's what that looks like:


The issue is not solved by removing and reinstalling ZotFile.
The issue is not solved by disabling and then re-enabling the "Use Zotfile to send and get files" option
The issue is not solved by deleting the _tablet tag, deleting the Tablet saved search, emptying the Trash, and syncing: reactivating the "Use ZotFile" option will make a new saved search and will allow interaction with new files, but ZotFile will still remember the old files and treat them as missing.

So: Is there a way to reset ZotFile so that it won't be looking for those old files anymore? Or is there a way to tell ZotFile to resolve or ignore errors so they won't keep coming back?

Duplicate issue #473: ZotFile reports file doesn't exist
Created: 2020-05-13T15:02:38Z
I used the "send to tablet" command to send a few references to a Dropbox folder that I specified as the storage spot for tablet files. I later edited the files and accidentally removed or renamed some of them by mistake. After that, whenever I select "Tablet Files" or "Tablet Files (Modified)", a series of error messages will pop up, complaining that these pdf files don't exist. If I send those files to tablet again, the error messages will disappear. However, as soon as I used "get from tablet" function to retrieve them, and even though that worked, the same error messages would reappear. I think it must be that a preference file used by ZotFile keeps a record of all the pdf files. However, I couldn't find it using grep and find.

Closing comment (2021-06-29T20:22:14Z): Possibly a duplicate of #417.
Following @astroHaoPeng's suggestion, I went into zotero.sqlite (default location found here) with a database browser and deleted the _tablet and _tablet_modified tags from the tags table. This resolved the issue for me.
My tablet saved searches were empty, with no remaining files I could "Get from Tablet," which is why I felt comfortable doing this.
Repository: jlegewie/zotfile

Issue #49: renaming (and possibly attaching) resets search field
Created: 2012-11-10T16:31:09Z
search
rename attachment
search is canceled and all items are displayed

(possibly the same for attaching new files)

Duplicate issue #22: restore complete item view (first row, expanded rows etc)
Created: 2012-02-08T08:49:29Z
ZoteroPane.rememberOpenState()
ZoteroPane.rememberSelection
ZoteroPane.saveFirstRow()
ZoteroPane.saveOpenState()
ZoteroPane.saveSelection()

Closing comment (2013-01-26T20:22:39Z): No, it's not intentionally and it would be good to fix it (I also changed the label from enhancement to bug). But I won't get to it anytime soon. Feel free to fix it if you can. It's also related to #49, I think.
Repository: jlegewie/zotfile

Issue #59: Change file metadata
Created: 2013-01-11T08:55:28Z
I use okular for viewing pdffiles and it use the title metadata in the window title.
But this field is not always correct depending on how the pdf was generated.
It would be nice if we could change this field just like we change the file name.

Duplicate issue #137: Write metadata to PDF
Created: 2014-02-14T13:33:31Z
I think it would be great if there was the possibility of saving the correct title, author and keywords to the PDF file metadata, which usually are not used correctly.

Closing comment (2014-03-03T15:34:00Z): Duplicates #59
Repository: jlegewie/zotfile

Issue #655: Zotero 7 support 
Created: 2023-06-16T12:07:27Z
Hi, I just wanted to ask whether zotero 7 will be supported?

Duplicate issue #671: Plugin Issues in Zotero 7
Created: 2024-08-13T14:44:57Z
Version 7 has been officially released. However, this plugin is marked as disabled, not 'incompatible' (I'm not sure what that means). Some plugins are marked incompatible, but this is not. Can you explain why this happens and if it can be resolved? Version 7 looks great, and this plugin is essential.

Closing comment (2024-08-25T13:48:11Z): This is a duplicate of #655, @websurfer93 can you close please? :) Let's keep the conversation in one place.
Repository: jmathai/elodie

Issue #11: API KEY for Map Quest
Created: 2015-12-02T21:40:04Z
Which API should I use to put in the configuration?
Consumer key or secret or other?
I tried the consumer key and it didn't work.

The import continue appears as "Unknown location"

Duplicate issue #12: Display error if the MapQuest API key is invalid.
Created: 2015-12-02T21:41:06Z
After setting the key it doesn't move to another page:

Closing comment (2015-12-02T21:53:35Z): Duplicate of #11?
Repository: jmathai/elodie

Issue #239: Source path with only digits aborts process
Created: 2017-08-16T21:11:19Z
I have some of my source tree which has only digits (like 20120510).
This makes Elodie stop with the following backtrace:
Traceback (most recent call last):
  File "./elodie.py", line 345, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "./elodie.py", line 115, in _import
    trash, allow_duplicates)
  File "./elodie.py", line 64, in import_file
    media, allowDuplicate=allow_duplicates, move=False)
  File "/root/elodie/elodie/filesystem.py", line 339, in process_file
    directory_name = self.get_folder_path(metadata)
  File "/root/elodie/elodie/filesystem.py", line 261, in get_folder_path
    return os.path.join(*path)
  File "/usr/lib/python2.7/posixpath.py", line 75, in join
    if b.startswith('/'):
AttributeError: 'int' object has no attribute 'startswith'

In elodie/filesystem.py, it seems python converts this path as a number, which makes the path.join fail.
Thanks !

Duplicate issue #400: Unexpected int instead of string returned by get_dynamic_path(part, mask, metadata)
Created: 2021-01-30T05:37:57Z
this_path = self.get_dynamic_path(part, mask, metadata)
                if this_path:
                    path.append(this_path.strip())


self.get_dynamic_path  seems to sometimes return an unexpected int, which then causes this error:
File "elodie/elodie/filesystem.py", line 543, in process_file
directory_name = self.get_folder_path(metadata)
File "elodie/elodie/filesystem.py", line 366, in get_folder_path
path.append(this_path.strip())
AttributeError: 'int' object has no attribute 'strip'

Closing comment (2021-01-30T06:57:07Z): For reference, this seems related to #239 / #241. It shouldn’t hurt to cast the path to a string.
Repository: jmathai/elodie

Issue #245: Trouble configuring fallback folders with location
Created: 2017-09-07T06:48:00Z
I'm trying to create a directory structure that uses location data when available and falls back to dates when it isn't.  So if geocoordinates are available, then I want the path to be year/country/city, but if geocoordinates are not available I'd like the path to be year/month
However, if geocoordinates are not available it does not use my fallback directories.  Instead it uses "Unknown Location" for any geo-related tag.  It looks like this:

My config file looks like this:
[MapQuest]
key=redacted

[Directory]
year=%Y
month=%m
country=%country
city=%city
state=%state
full_path=%year/%country|%month/%city|%state|"."

I couldn't tell from the documentation whether using multiple levels of fallback directories is supported like that, but if it is I'm assuming it's interpreted like this: %year/(%country|%month)/(%city|%state|".")
Is there something I should be doing differently?

Duplicate issue #306: Fix/review custom folder structure fallbacks #Help #Question
Created: 2019-03-31T02:39:08Z
#283
Hey @jmathai,
Hope you're well
Thanks for software, as always
As title
I won't go into detail with my desired syntax (yet), instead I'll simply use the README example[e] syntax:
[Directory]
month=%m
year=%Y
location=%city
full_path=%month/%year/%album|%location|%"Beats me"

... which yields unexpected results, where I see Unknown Location instead of Beats me:
Last login: Sun Mar 31 04:00:31 on ttys000
Lewiss-MacBook-Pro:~ ldexterldesign$ tree /Users/ldexterldesign/Desktop/elodie/-source
/Users/ldexterldesign/Desktop/elodie/-source
└── 2009-03-20_21-29-43-dsc_0248.jpg

0 directories, 1 file
Lewiss-MacBook-Pro:~ ldexterldesign$ tree /Users/ldexterldesign/Desktop/elodie/-destination
/Users/ldexterldesign/Desktop/elodie/-destination
└── 03
    └── 2009
        └── Unknown\ Location
            └── 2009-03-20_21-29-43-dsc_0248.jpg

3 directories, 1 file
Lewiss-MacBook-Pro:~ ldexterldesign$


If you have any issues (e.g. questions/queries) then happy to help
Hope this is helpful and to hear back
Cheers
e: https://github.com/jmathai/elodie#using-fallback-folders
hardware: Apple, MacBook Pro (Retina, 15-inch, Mid 2014)
software - operating system: Apple, macOS, 10.14.4 (18E226)

Closing comment (2019-08-23T04:32:52Z): Closing as a duplicate of #245.
Repository: jmathai/elodie

Issue #279: Combine Date and Album Names in one folder name
Created: 2018-08-23T22:03:55Z
I really like the concept behind Elodie, I think it is just the perfect solution to actually managing your photo library in a way that is cross-platform and future-proof. In particular, using EXIF and (very simple) folder structures should play more nicely with other tools that any SQLite database would.
I was trying to combine the date and album/location names into one folder. For example, 2018-08 Holiday rather than 2018-08/Holiday.
I would like to do this because I want to be able to see my different albums at a glance when I am browsing my photos library, so that I can more easily reminisce (or something like that). Another reason for this is if I have an album (or location) that is across multiple months I can more easily identify it. For example, all "Home" photos for the entire year could probably just be lumped into one folder.
So instead of (2 albums and 3 locations in this example):
2018-08/
    Holiday
    Conference
    London
    New York
    Unknown Location

It would be:
2018-08 Holiday/
2018-08 Conference/
2018-08 London/
2018-08 New York/
2018-08 Unknown Location/

I spent about an hour working the config.ini, and then having a look at the source code, before determining that Elodie does not currently support this. I'm not entirely sure how well this would work in practice (too many folders?), so if anyone thinks this is a bad idea please let me know.
Would this be incompatible with Elodie in any way, or require significant work outside of just filesystem.py?

Duplicate issue #284: Want to put %month and %location into same level folder, but not working
Created: 2018-10-06T09:48:25Z
[Directory]
location=%state_%city
month=%m-%b
year=%Y

# want but not working
full_path=%year/%mont-%album|%location

# only can
full_path=%year/%month/%album|%location

Closing comment (2018-10-06T18:30:56Z): Hi @ericfong - Thanks for opening the issue. This is a duplicate of #279. Please follow that issue and PR #283 which adds initial support for this.
Repository: jmathai/elodie

Issue #6: Determine how and where to store script related data (currently ~/.elodie)
Created: 2015-12-01T21:12:11Z
I would like to be able to move the folder .elodie to another place, for example my Google Drive. Like this way it would be easier to backup.
If .elodie not found in the user name, look for a environment variable ELODIE_HOME or ELODIE_CONF.

Duplicate issue #11: API KEY for Map Quest
Created: 2015-12-02T21:40:04Z
Which API should I use to put in the configuration?
Consumer key or secret or other?
I tried the consumer key and it didn't work.

The import continue appears as "Unknown location"

Closing comment (2015-12-02T21:53:11Z): This is related to #6. We shouldn't use ~/.elodie but for now that's where we look :).
Repository: jmathai/elodie

Issue #267: Eastern European locations unicode cause a crash.
Created: 2018-02-23T11:07:48Z
Some locations cause the following crash.
Traceback (most recent call last):
File "./elodie.py", line 345, in 
main()
File "C:\Python27\lib\site-packages\click\core.py", line 716, in call
return self.main(*args, **kwargs)
File "C:\Python27\lib\site-packages\click\core.py", line 696, in main
rv = self.invoke(ctx)
File "C:\Python27\lib\site-packages\click\core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Python27\lib\site-packages\click\core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Python27\lib\site-packages\click\core.py", line 534, in invoke
return callback(*args, **kwargs)
File "./elodie.py", line 115, in _import
trash, allow_duplicates)
File "./elodie.py", line 66, in import_file
print('%s -> %s' % (_file, dest_path))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u015b' in position 88: ordinal not in range(128)
Location.json
[{"lat": 49.7838611111111, "name": {"default": "Przemy\u015bl", "city": "Przemy\u015bl", "state": "podkarpackie", "country": "Polska"}, "long": 22.7677916666667}]

Duplicate issue #377: probably just a file was wrong
Created: 2020-05-29T04:53:27Z
./201012/201012A0/06122010210.jpg -> /media/HDD/FOTOS_elodie_test/2010-12-Dec/Unknown Location/2010-12-06_12-05-06-06122010210.jpg
Traceback (most recent call last):
File "/home/osmc/elodie/elodie.py", line 378, in 
main()
File "/home/osmc/.local/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/home/osmc/.local/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/home/osmc/.local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/osmc/.local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/osmc/.local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/osmc/elodie/elodie.py", line 141, in _import
trash, allow_duplicates)
File "/home/osmc/elodie/elodie.py", line 41, in import_file
_file = _decode(_file)
File "/home/osmc/elodie/elodie/compatability.py", line 23, in _decode
return string.decode(encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 12: ordinal not in range(128)

Closing comment (2021-01-11T07:25:33Z): Duplicate of #267 and #253.
Per this comment, you might not see the problem if you're using python 3.
Repository: jmathai/elodie

Issue #107: Allow destination file name structure to be customized
Created: 2016-04-14T01:11:13Z
Hey,
I see this issue has already been discussed for folder naming ( #5 ), but I'd like to control the structure of [image] file naming
More specifically, retaining the filename during a "first pass" is useful as an ID, but I'd like the ability to remove the filename with a second pass; since I now have a unique timestamp:

Is this possible?
FYI I played with http://www.sno.phy.queensu.ca/~phil/exiftool/ a while back and decide the ideal naming structure for me would involve the following:
CreateDate: 2015:03:02 07:54:33 or SubSecCreateDate: 2015:03:02 07:54:33.33
DateTimeOriginal: 2015:03:02 07:54:33 or SubSecDateTimeOriginal: 2015:03:02 07:54:33.33
ImageSize: 3872x2592
Make: NIKON CORPORATION
Model: NIKON D200

Hope to hear back
Kind thanks

Duplicate issue #5: Allow the folder structure to be customized
Created: 2015-12-01T21:10:58Z
I would like to use another format for date like dd/MM/yyyy

Closing comment (2017-01-07T21:20:23Z): PR merged. You can now customize the folder path as documented here. https://github.com/jmathai/elodie#create-your-own-folder-structure
Customizing the file name is being tracked in #107.