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

bridge: importing events occurred after a known date #167

Closed
a-hilaly opened this issue Jun 8, 2019 · 1 comment · Fixed by #236
Closed

bridge: importing events occurred after a known date #167

a-hilaly opened this issue Jun 8, 2019 · 1 comment · Fixed by #236
Assignees
Labels
bridge bridge related issues CLI Concerns the command line UI enhancement New feature or request
Milestone

Comments

@a-hilaly
Copy link
Collaborator

a-hilaly commented Jun 8, 2019

For now the importer can only iterate over all available issues/comments/events and import them if they don't exist locally .

We can add two flags to the bridge pull and push subcommands in order to allow only importing and exporting new events:

1 - --no-resume

for example, by default the importer will have to import only new events. passing this flag will force the bridge to import all available issues and events.

example: git bug bridge pull --no-resume

2 - --since

to import/export events after a known date
example: git bug bridge push --since=2019-06-08T21:49:06Z

@a-hilaly a-hilaly added enhancement New feature or request CLI Concerns the command line UI labels Jun 8, 2019
@a-hilaly a-hilaly self-assigned this Jun 8, 2019
@MichaelMure
Copy link
Owner

Possibly, we would also need a --since-like flag that understand the Lamport time.

Also, the importer/exporter should probably be smart enough to resume where it left off on it's own.

@a-hilaly a-hilaly added the bridge bridge related issues label Jul 6, 2019
@MichaelMure MichaelMure added this to the 0.6.0 milestone Aug 25, 2019
@MichaelMure MichaelMure changed the title bridge: importing/exporting events occurred after a known date bridge: importing events occurred after a known date Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bridge bridge related issues CLI Concerns the command line UI enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants